Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mail.Body = body;
- System.Net.Mail.Attachment attachment;
- attachment = new System.Net.Mail.Attachment(Server.MapPath("Documents/quote.pdf"));
- mail.Attachments.Add(attachment);
- SmtpServer.Send(mail);
Add Comment
Please, Sign In to add comment