Please create a new thread instead of reusing an old one.
I am not exactly sure what you are trying to do. You can create a new
message in the Sent Items folder usign MAPIFolder.Items.Add. Custom
properties can be added using MailItem.UserProperties collection.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
Thanks for your reply.
I basically create a custom message and send it through my own web server.
But i need to do following
1- If the Message is successfully sent, Create an entry in Sent Folder for
my message
2- If message is not Sent, I will create an entry in "Unsent Messages"
folder.
I tried your suggestion and it seems to work. Just one more explaination -
Once i have saved the Form to the Folder, will these custom properties stay
persistent ? i mean if i open the form in Design Mode from within Outlook, i
see those properties there with their values. This could interrupt with
default functionality of the form, as i am also using it to Create Message
on click on Addin Button. Any ideas ?
Regards
Nauman
> Please create a new thread instead of reusing an old one.
> I am not exactly sure what you are trying to do. You can create a new
[quoted text clipped - 23 lines]
> > Regards
> > Nauman
Dmitry Streblechenko \(MVP\) - 23 Aug 2004 19:11 GMT
I am not sure what you mean by "Form". Are you designing a custom form?
Everything displayed by a built-in or a custom form is bound to the message.
The data does not exist in a form, only in the messages.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> Thanks for your reply.
> I basically create a custom message and send it through my own web server.
[quoted text clipped - 43 lines]
> > > Regards
> > > Nauman