how to know the kind of server in a mail

  • Thread starter Thread starter Cecilio
  • Start date Start date
C

Cecilio

Hello, first sorry for my english.
I´m using outlook automation in a VB program and I trap the incoming and
sending mails.
I want to know , if the client have diferent servers (POP3 or Exchange in
example) what server use that mail. (Not the server accound only if it is
POP3, or Exchange)


Thanks
 
Outgoing mail headers are added after an item leaves Outlook. Incoming
Internet headers can be gotten from a received email using CDO 1.21 or
Extended MAPI. Exchange doesn't create any headers if the message was
sent internally in Exchange.

The headers would contain information about the mail server name and
version. To see how to get headers using CDO code (an optional
installation for Outlook 2000 and later), see
http://www.slovaktech.com/code_samples.htm#InternetHeaders

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm
 
Back
Top