Create an E-mail with Attachment. RRS feed

  • Question

  • Is it possible to create an e-mail with an attachment (like a txt file), enter the To: field but then open the e-mail to allow the user to edit the body of the text.  I have been reading a lot about the system.web.mail but I think that using the system.diagnostics.process method may work better (mailto).  Can you add an attachment using 'mailto'?
    Wednesday, August 24, 2005 9:49 AM

All replies

  • ok I've got this far....

    myprocess.StartInfo.FileName = "mailto:emailaddress?subject=support text &body=" & strBodyText

    where strBodyText = StringBuilder.ToString

    only problem is that it doesn't seem to accept controlchars.crlf or vbnewline as return characters.  Any clues?  do I need to use HTML return chars?

    Wednesday, August 24, 2005 11:01 AM