Hi Experts,
Can somebody tell me how to save the e-mail as *.eml file on the hard drive so that I can just op the mail and send it later, in this case mail is created using MAPI controls. .I want to save it with attachments.
Thanks.,
Girish Patil
Printable View
Hi Experts,
Can somebody tell me how to save the e-mail as *.eml file on the hard drive so that I can just op the mail and send it later, in this case mail is created using MAPI controls. .I want to save it with attachments.
Thanks.,
Girish Patil
If you open using Outlook via OLE automation you can call:
Code:oMessage.SaveAs sTemp, olMSG
Hi tgoodmannz,
I'am using MAPI controls. . . so tell me something abt. message saving in this case . . .if there is no way then I will go for OUTLOOK using ole, as I have developed the application partly I don't want to change it unless its a last resort.. . . thanks anyway
for suggestion
Sorry - If I'm using MAPI then I just extract the elements separately - i.e. from address, To Address, Body, Attachments. I'm not sure MAPI can save as a single file
I've also found problems with some e-mails in MAPI where the attachment name is set to a blank string - therefore you can't save. For these e-mails you have to save via Outlook.
Sorry I can't be of more help...