A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Email address when received internally



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 23rd 07, 06:18 PM posted to microsoft.public.outlook.program_addins
pjerling
external usenet poster
 
Posts: 12
Default Email address when received internally

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
Ads
  #2  
Old September 24th 07, 04:26 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Email address when received internally

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"pjerling" wrote in message
...
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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User not receiving meeting invites internally [email protected] Outlook - Calandaring 1 April 10th 07 10:38 PM
Received an address list. How do I move it to MY address book? Jim Outlook - Using Contacts 1 October 12th 06 08:58 PM
Forwarding Contacts made from custom form internally rikper Outlook - Using Forms 5 August 11th 06 09:29 PM
Emailing Contacts made with custom form internally rikper Outlook - Using Contacts 1 August 11th 06 01:52 AM
Anonymous access allowed internally. Tyson Outlook and VBA 1 June 1st 06 03:43 PM


All times are GMT +1. The time now is 09:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.