G
Guest
Is there a way to do embedded email attachments using SmtpMail? I have normal attachments working (see below) but there seems to be no other properties to set on the MailAttachment object for embedded attachements I am trying to send an email with an embedded signature graphic. Thanks in advance
Dim objMailAttachment As New MailAttachment("E:\!work\DMS Internet\DMS-FOOT.jpg"
Dim objMailMessage As New MailMessage(
objMailMessage.From = "(e-mail address removed)
objMailMessage.To = "(e-mail address removed)
'objMailMessage.Bcc = "(e-mail address removed)
objMailMessage.Subject = "Look what I did!
objMailMessage.Body = "Text from .Net email with Attachment - WOOHOO!!!
objMailMessage.Attachments.Add(objMailAttachment
SmtpMail.SmtpServer = "11.11.11.11
SmtpMail.Send(objMailMessage)
Dim objMailAttachment As New MailAttachment("E:\!work\DMS Internet\DMS-FOOT.jpg"
Dim objMailMessage As New MailMessage(
objMailMessage.From = "(e-mail address removed)
objMailMessage.To = "(e-mail address removed)
'objMailMessage.Bcc = "(e-mail address removed)
objMailMessage.Subject = "Look what I did!
objMailMessage.Body = "Text from .Net email with Attachment - WOOHOO!!!
objMailMessage.Attachments.Add(objMailAttachment
SmtpMail.SmtpServer = "11.11.11.11
SmtpMail.Send(objMailMessage)