|
-
Feb 3rd, 2004, 12:19 AM
#1
Thread Starter
Frenzied Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|