Format:
Recent snippets matching tags of CSharp
using System; using System.Collections; using System.IO; using System.Text; namespace Handlers { /// <summary> /// A data-reader style interface for reading Csv (and otherwise-char-separated) files.
912 Views
no comments
public static bool SendMail(string gMailAccount, string password, string to, string subject, string message, string attachments) { try { NetworkCredential loginInfo = new NetworkCredential(gMailAccount, password); MailMessage msg = new MailMessage(); msg.From = new MailAddress(gMailAccount); msg.To.Add(new MailAddress(to)); msg.Subject = subject; msg.Body = message;
272 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
