Hello,
this is my first post here..
I'm writing app where I need to send TextBox content as attachment.
typical attachment construction is like:
mail = new MailMessage()
mail.Attachment.Add(@"C:\fileToAdd.txt");
instead I need somethin like this:
string attachmentName = "att1.txt";
string attachmentContent = "1234945866";
How add string "attachmentConent" as attachment with "attachmentName"
as attachment name.
Google is no help :(