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

BJ Swope bigblueswope at gmail.com
Wed Dec 3 22:30:14 EST 2008


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
>



-- 
We are all slave to our own paradigm. -- Joshua Williams

If the letters PhD appear after a person's name, that person will remain
outdoors even after it's started raining. -- Jeff Kay

Fascism is a term used to describe authoritarian nationalist political
ideologies or mass movements that are concerned with notions of cultural
decline or decadence and seek to achieve a millenarian national rebirth by
exalting the nation or race, and promoting cults of unity, strength and
purity. - Wikipedia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081203/5b457d86/attachment-0001.html>


More information about the Python-list mailing list