message.Body = "<HTML><BODY><STRONG>TEST</STRONG><BR><BR><BR><br>TEST TEST TEST<BR> TEST TEST</BODY></HTML>";
message.Attachments.Add(new MailAttachment("C:\\test.txt"));
RecipientStatusCollection status = SmtpService.SendDirectEmail(message);
foreach(RecipientStatus s in status) {
System.Diagnostics.Trace.WriteLine(s);
}
< Previous |
1 |
Next >
Add a Reply
This forum does not allow anonymous participation.
Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.