Sending Email Attachments
I am trying to send SMTP mail using System.Web.Mail classes.
Sending text is OK with classes "MailMessage" and "SmtpMail" but I can't work out how to send attachments. The "MailMessage.Attachments" property is read-only.
There is a class in this group called "MailAttachment" whose constructor sets the attachment file name. I can't see how this connects to the above 2 classes.
Can you send multiple attachments?
Also, is there any way of capturing whether the email was sent to an errant address? Sending to an errant address doesn't raise an exception.