Obtaining SMTP address of a sender and receiver of an outlook mail

venu madhav venutaurus539 at gmail.com
Wed Dec 3 23:43:52 EST 2008


Hi,
       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?

Thank you,
Venu.

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,
>> Venu
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081204/e7b4d071/attachment-0001.html>


More information about the Python-list mailing list