Obtaining SMTP address of a sender and receiver of an outlook mail
venutaurus539 at gmail.com
Thu Dec 4 05:43:52 CET 2008
I don't have access to the AD server because only the administrators
here have those rights. Aren't there any MAPI Sender and Recipient object
properties which satisfies my need?
On Thu, Dec 4, 2008 at 9:00 AM, BJ Swope <bigblueswope at gmail.com> wrote:
> If you have access to the AD server that hosts those DNs you can use
> python's ldap module to retrieve the smtp attribute for the DN you've just
> parsed from the message.
> On Wed, Dec 3, 2008 at 2:06 AM, venutaurus539 at gmail.com <
> venutaurus539 at gmail.com> wrote:
>> Hi all,
>> I am trying to use python for extracting contents of an outlook
>> email. For extracting the list of Recipients addresses I tried using
>> the "MAPI.message.Recipients.Address" property, but the problem I am
>> facing is that it is giving the complete DN name which is putting me
>> in further complications. Is there any way to obtain the actual SMTP
>> mail address (username at domain.com) from the above object? I searched
>> for it in the MSDN help but couldn't succeed.
>> Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list