Hi,
Does anyone know if it's possible to add a custom header to the MailMessage class in vb.net for voting buttons?
I was able to add a custom header for "Reply-to", and send the email, but I need to know if it's possible for vb.net.
Should I be using other classes or components for this?
Here is sample code....
code Code:
Imports System.Web.Mail
Module Module1
Sub Main()
Dim message As New MailMessage
message.Subject = "test"
message.Body = "test"
message.Headers.Add("?", "?") 'what goes here?
Dim email As SmtpMail
email.SmtpServer = "mail.bubba.com"
email.Send(message)
End Sub
End Module