Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 79807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:12:13+00:00 2026-05-10T21:12:13+00:00

I’m using Interop.Domino.dll to retrieve E-mails from a Lotus Database (Term used loosely). I’m

  • 0

I’m using Interop.Domino.dll to retrieve E-mails from a Lotus ‘Database’ (Term used loosely). I’m having some difficulty in retrieving certain fields and wonder how to do this properly. I’ve been using NotesDocument.GetFirstItem to retrieve Subject, From and Body.

My issues in this regard are thus:

  1. How do I retrieve Reply-To address? Is there a list of ‘Items’ to get somewhere? I can’t find it.
  2. How do I retrieve friendly names for From and Reply-To addresses?
  3. When I retrieve Body this way, it’s formatted wierdly with square bracket sets ([]) interspersed randomly across the message body, and parts of the text aren’t where I expect them.

Related code:

string    ActualSubject = nDoc.GetFirstItem('Subject').Text,   ActualFrom = nDoc.GetFirstItem('From').Text,   ActualBody = nDoc.GetFirstItem('Body').Text; 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T21:12:14+00:00Added an answer on May 10, 2026 at 9:12 pm

    Hah, got it!

    Object[] ni = (Object[])nDoc.Items; string names_values = ''; for (int x = 0; x < ni.Length; x++) { NotesItem item = (NotesItem)ni[x]; if (!string.IsNullOrEmpty(item.Name)) names_values += x.ToString() + ': ' + item.Name + '\t\t' + item.Text + '\r\n'; } 

    This returned a list of indices, names, and values:

    0: Received     from example.com ([192.168.0.1])          by host.example.com (Lotus Domino Release 6.5.4 HF182)          with ESMTP id 2008111917343129-205078 ;          Wed, 19 Nov 2008 17:34:31 -0500 1: Received     from example.com ([192.168.0.2])          by host2.example.com (Lotus Domino Release 6.5.4 HF182)          with ESMTP id 2008111917343129-205078 ;          Wed, 19 Nov 2008 17:34:31 -0500 2: X_PGRTRKID       130057945714t 3: X_PGRSRC     IE 4: ReplyTo      'example' <name@email.example.com> 5: Principal        'example' <customerservice@email.example.com> 6: From         'IE130057945714t'<service@test.email.example.com> 7: SendTo       me@example.com 8: Subject      (Message subject redacted) 9: PostedDate       11/19/2008 03:34:15 PM 10: MIME_Version        1.0 11: $Mailer     SMTP DirectMail 12: $MIMETrack      Itemize by SMTP Server on xxxPT02-CORP/example(Release 6.5.4 HF182|May 31, 2005) at 11/19/2008 05:34:31 PM;Serialize by Router on xxxPT02-CORP/example(Release 6.5.4 HF182|May 31, 2005) at 11/19/2008 05:34:32 PM;Serialize complete at 11/19/2008 05:34:32 PM;MIME-CD by Router on xxxPT02-CORP/example(Release 6.5.4 HF182|May 31, 2005) at 11/19/2008 05:34:32 PM;MIME-CD complete at 11/19/2008 05:34:32 PM;Itemize by Router on camp-db-05/example(Release 7.0.2 HF76|November 03, 2006) at 11/19/2008 05:34:32 PM;MIME-CD by Notes Client on MyName/Guest/example(Release 6.5.6|March 06, 2007) at 11/20/2008 12:46:25 PM;MIME-CD complete at 11/20/2008 12:46:25 PM 13: Form        Memo 14: $UpdatedBy      ;CN=xxxPT02-CORP/O=example 15: $ExportHeadersConverted     1 16: $MessageID      <redacted@LocalDomain> 17: RouteServers        CN=xxxPT02-CORP/O=example;CN=camp-db-05/O=example 18: RouteTimes      11/19/2008 03:34:31 PM-11/19/2008 03:34:32 PM;11/19/2008 03:34:32 PM-11/19/2008 03:34:32 PM 19: $Orig       958F2E4E4B666AB585257506007C02A7 20: Categories       21: $Revisions       22: DeliveredDate       11/19/2008 03:34:32 PM 23: Body        []exampleexample 

    Now, who can tell me why the Body keeps getting messed up?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 71k
  • Answers 71k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Usually, to obtain access to a COM interface on an… May 11, 2026 at 1:27 pm
  • added an answer If workable, I usually just use Response.Redirect to reload the… May 11, 2026 at 1:27 pm
  • added an answer It is possible to do exactly that with MS projects,… May 11, 2026 at 1:27 pm

Related Questions

No related questions found

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.