I\'m using the following code from this answer Sending email in .NET through Gmail. The trouble I\'m having is adding an attachment to the email. How would I add an attachme
A one line answer:
mail.Attachments.Add(new System.Net.Mail.Attachment("pathToAttachment"));