Email address when received internally

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there,

I'm writing some software to synchronize with Outlook. My goal is to
synchorize emails to the SQL database. When I'm accessing the sender
emailaddress - I receive the correct email address ONLY if the email was sent
from without the company. As soon as I wish to sync an email received from
one of the members internally I receive some 'rubbish' email address. Any
ideas as to how I can retrieve the correct email address for internal emails?

Thanks in advance.

Best Regards,
Peter J
 
How are you retrieving the sender email address? Are you working with
Exchange server? You might be getting an Exchange distinguished name email
address which is in the form usually of something like a bunch of "o=",
"ou=" and "cn=" tags.

Same question for your other post, sending using an Exchange account will
not have a sender email address in the sent email, but you can retrieve the
address from parsing the information from the PR_SENDER_ENTRYID property,
which when converted into a text string has the distinguished name address.

In addition to whether or not you're using Exchange you also need to tell us
what Outlook version you're using and what language you're using for your
code.
 
Back
Top