The message
object created from your new MailMessage
method call has a property .Attachments
.
For example:
message.Attachments.Add(new Attachment(PathToAttachment));
The message
object created from your new MailMessage
method call has a property .Attachments
.
For example:
message.Attachments.Add(new Attachment(PathToAttachment));