CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of CSharp
C#
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.
by Utkarsh Puranik   February 23, 2010 @ 3:44am
912 Views
no comments
 
C#
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;
by Claudia Hidalgo   July 21, 2009 @ 9:34pm
Tags: csharp, mail
272 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate