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

How to add envid,notify and ret parameters to Outlook mail ?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 26th 07, 08:26 AM posted to microsoft.public.outlook.program_addins
Lukas[_2_]
external usenet poster
 
Posts: 1
Default How to add envid,notify and ret parameters to Outlook mail ?

I'm writing an application as plugin to Outlook 2003 using VSTO.
Now I have a big problem. I tried to add envid,notify and ret parameters to
message header (MailItem) programmically but I got stuck.
According to SMTP specification, envid and ret must be added to RCPT
command.

This line should look like this

MAIL RET=HDRS ENVID=QQ314159

and recipient like

RCPT NOTIFY=SUCCESS

The problem is how to add these parameters to message header. I looked into
vsto MailItem and Recipient classes and i didn't find appropriate solution.
Is it possible to do it using REDEMPTION libary, CDO or Extended MAPI ?

Thanks for any ideas


  #2  
Old July 26th 07, 05:11 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to add envid,notify and ret parameters to Outlook mail ?

You can add x-headers using any of the API's you mentioned. You can also do
it using Outlook 2007 code and the PropertyAccessor. There's an example of
adding an x-header on the Redemption web site, that with modifications can
also be used to add x-headers using CDO or ExMAPI.

The headers remain as named MAPI properties in the namespace
{00020386-0000-0000-C000-000000000046}until the item is sent out, then the
transport converts the MAPI named properties into x-headers (the named
properties remain on the item).

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Lukas" wrote in message
...
I'm writing an application as plugin to Outlook 2003 using VSTO.
Now I have a big problem. I tried to add envid,notify and ret parameters
to
message header (MailItem) programmically but I got stuck.
According to SMTP specification, envid and ret must be added to RCPT
command.

This line should look like this

MAIL RET=HDRS ENVID=QQ314159

and recipient like

RCPT NOTIFY=SUCCESS

The problem is how to add these parameters to message header. I looked
into
vsto MailItem and Recipient classes and i didn't find appropriate
solution.
Is it possible to do it using REDEMPTION libary, CDO or Extended MAPI ?

Thanks for any ideas



 




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
Outlook calendar parameters not valid Eddie Outlook - Calandaring 1 June 15th 07 03:12 AM
Notify for Calendar Items only Not Mail jklipper Outlook - Calandaring 1 November 8th 06 03:04 AM
Outlook does not notify attendees of appt change Schnugglebunny Outlook - Calandaring 1 October 3rd 06 04:04 PM
How do I pass parameters to application invoked by Outlook rule? Sergy Stouk Outlook - Installation 1 March 20th 06 01:18 PM
e mails returned 501 syntax error in parameters.outlook please res krisa and mike Outlook - Installation 1 January 10th 06 06:49 PM


All times are GMT +1. The time now is 08:36 PM.


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.