Closed Radzhab closed 8 years ago
How add attachment ? client.SendMail(new System.Net.Mail.MailMessage("gino@samples.mailgun.org", "gino.heyman@gmail.com") { Subject = "Hello from mailgun", Body = "this is a test message from mailgun." });
client.SendMail(new System.Net.Mail.MailMessage("gino@samples.mailgun.org", "gino.heyman@gmail.com") { Subject = "Hello from mailgun", Body = "this is a test message from mailgun." });
you need to add attachment in your MailMessage object.
MailMessage
How add attachment ?
client.SendMail(new System.Net.Mail.MailMessage("gino@samples.mailgun.org", "gino.heyman@gmail.com") { Subject = "Hello from mailgun", Body = "this is a test message from mailgun." });