Live Chat Icon For mobile
Live Chat Icon

How do I send an email with attachments

Platform: ASP.NET| Category: Mail


Dim mailattach As New MailAttachment(Server.MapPath('<yourfilename>'))


MailAttachment mailattach = new MailAttachment( Server.MapPath( '<yourfilename>' ) );  
mail.Attachments.Add( mailattach );	

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.