Results 1 to 4 of 4

Thread: How to save the email.

  1. #1

    Thread Starter
    Member gvphubli's Avatar
    Join Date
    May 2001
    Location
    INDIA
    Posts
    48

    How to save the email.

    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
    Cracky - = DBA / Developer = -
    visit : http://www.geocities.com/gvphubli/

  2. #2
    Lively Member tgoodmannz's Avatar
    Join Date
    Sep 2000
    Location
    Mid On at the Pavillion End
    Posts
    102
    If you open using Outlook via OLE automation you can call:

    Code:
    oMessage.SaveAs sTemp, olMSG

  3. #3

    Thread Starter
    Member gvphubli's Avatar
    Join Date
    May 2001
    Location
    INDIA
    Posts
    48

    reply

    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
    Cracky - = DBA / Developer = -
    visit : http://www.geocities.com/gvphubli/

  4. #4
    Lively Member tgoodmannz's Avatar
    Join Date
    Sep 2000
    Location
    Mid On at the Pavillion End
    Posts
    102
    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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width