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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to add new field to SMTP email header in VBA Outlook 03/07



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 18th 07, 11:47 PM posted to microsoft.public.outlook.program_vba
BrushLee
external usenet poster
 
Posts: 1
Default How to add new field to SMTP email header in VBA Outlook 03/07

I need to add custom field to SMTP header of Outlook 03/07 email item
Something like Spam/Antivirus software does.
I cannot find how to address the header.


  #2  
Old June 19th 07, 01:00 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to add new field to SMTP email header in VBA Outlook 03/07

To add an X-header, you need to create a named string MAPI property with a
particular GUID.
See http://www.dimastr.com/redemption/faq.htm#14 for a Redemption example.
It shows how to change the "From" header, but it is equally applicable to
any MME header.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"BrushLee" wrote in message
...
I need to add custom field to SMTP header of Outlook 03/07 email item
Something like Spam/Antivirus software does.
I cannot find how to address the header.




 




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
To: field in email header Alex #21 Outlook - General Queries 1 May 4th 07 04:42 PM
ÎÞ·¨ÕÒµ½Ö÷»ú¡°SMTP¡±¡£Çë¼ì²éÊäÈëµÄ·þÎñÆ÷ÃûÊÇ·ñÕýÈ·¡£ ÕÊ»§: 'POP3', ·þÎñÆ÷: 'SMTP', ЭÒé: SMTP, ¶Ë¿Ú: 25, °²È«(SSL): ·ñ, Ì×½Ó×Ö´íÎó: 11001, ´íÎóºÅ: 0x800CCC0D John Smith Outlook Express 0 September 5th 06 02:15 AM
How do I move the date field in an e-mail header? Kozak & Gayer Outlook - Using Forms 1 July 25th 06 10:24 PM
ÎÞ·¨ÕÒµ½Ö÷»ú¡°smtp¡±¡£Çë¼ì²éÊäÈëµÄ·þÎñÆ÷ÃûÊÇ·ñÕýÈ·¡£ ÕÊ»§: 'pop3', ·þÎñÆ÷: 'smtp', ЭÒé: SMTP, ¶Ë¿Ú: 25, °²È«(SSL): ·ñ, Ì×½Ó×Ö´íÎó: 11001, ´íÎóºÅ: 0x800CCC0D Outlook Express 0 June 17th 06 10:44 AM
I can't download email only header in Outlook Sandra JI Outlook - General Queries 1 May 5th 06 06:23 PM


All times are GMT +1. The time now is 07:08 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.