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 for: Claudia Hidalgo
C#
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MensajeGeneralError.ascx.cs"
    Inherits="Syllabus_PL.UserControls.WebUserControl1" %>
<table cellspacing="0" cellpadding="0" class="cf ve">
    <tbody>
        <tr>
            <td class="vj">
            </td>
            <td class="vi" />
            <td class="vk" />
        </tr>
by Claudia Hidalgo   August 10, 2009 @ 12:56pm
226 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
247 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