J
Jim in Arizona
Now that I've figured out how to send mail within our domain:
Dim test as new System.Net.Mail.SmtpClient
Dim nco as New
System.Net.NetworkCredential("mailaccount","password","domain")
test.Credentials = nco
test.Host = "mailserver"
test.Send("(e-mail address removed)","(e-mail address removed)","Subject","Message")
I am wondering how I could send mail in HTML format, or any other format
other than plain ol' text. If I try something like this:
Dim testtext as String = "<p style=""font-size:18pt"">Testing</p>"
test.Send("(e-mail address removed)","(e-mail address removed)","Subject",testtext)
The message body will end up being <p style="font-size:18pt">Testing</p>
How can I fix this so I can send visually appealing messages?
Thanks,
Jim
Dim test as new System.Net.Mail.SmtpClient
Dim nco as New
System.Net.NetworkCredential("mailaccount","password","domain")
test.Credentials = nco
test.Host = "mailserver"
test.Send("(e-mail address removed)","(e-mail address removed)","Subject","Message")
I am wondering how I could send mail in HTML format, or any other format
other than plain ol' text. If I try something like this:
Dim testtext as String = "<p style=""font-size:18pt"">Testing</p>"
test.Send("(e-mail address removed)","(e-mail address removed)","Subject",testtext)
The message body will end up being <p style="font-size:18pt">Testing</p>
How can I fix this so I can send visually appealing messages?
Thanks,
Jim