S
Stephen Miller
I have used the following code to create and send an email using the
MailMessage Constructor:
'-- Imports System.Web.Mail
Dim oMail As New MailMessage()
With oMail
.From = "(e-mail address removed)"
.To = "(e-mail address removed)
.Subject = "My message"
.Body = "This is my message"
.Priority = MailPriority.High
End With
SmtpMail.SmtpServer = "mail.this.com"
SmtpMail.Send(oMail)
However, I can't seem to find a way to save the email (preferably in
msg format) prior to sending. Is this possible?
MailMessage Constructor:
'-- Imports System.Web.Mail
Dim oMail As New MailMessage()
With oMail
.From = "(e-mail address removed)"
.To = "(e-mail address removed)
.Subject = "My message"
.Body = "This is my message"
.Priority = MailPriority.High
End With
SmtpMail.SmtpServer = "mail.this.com"
SmtpMail.Send(oMail)
However, I can't seem to find a way to save the email (preferably in
msg format) prior to sending. Is this possible?