Format:
Recent snippets matching tags of Email
<asp:RegularExpressionValidator ValidationGroup="Anagrafica" ID="RegularExpressionValidatorEmail" ControlToValidate="TextBoxEmail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="Indirizzo email immesso non valido" EnableClientScript="true" runat="server" />
23 Views
no comments
/// <summary> /// Creates the mail message. /// </summary> /// <param name="emailBody">The email body.</param> /// <param name="maTo">The ma to.</param> /// <param name="maFrom">The ma from.</param> /// <param name="maBcc">The ma BCC.</param> /// <param name="attachment">The attachment.</param> /// <returns></returns> public static MailMessage CreateMailMessage(string emailBody, string maTo, string maFrom, string maBcc, Attachment attachment)
49 Views
1 comments
FUNCTION ShowEmail( lcRecipient,lcSubject,lcBody ) RETURN GoUrl("mailto:" + lcRecipient + ; "&Subject=" + STRTRAN(UrlEncode(lcSubject),"+"," ") +; "&Body=" + STRTRAN(UrlEncode(lcBody),"+"," ")) **************************************************** FUNCTION GoUrl ****************** *** Author: Rick Strahl *** (c) West Wind Technologies, 1996
103 Views
no comments
/// <summary> /// Validates the email. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="System.Web.UI.WebControls.ServerValidateEventArgs"/> instance containing the event data.</param> /// <param name="page">The calling <see cref="System.Web.UI.Page" /> web page.</param> public void ValidateEmail(object sender, ServerValidateEventArgs e, Page page) { var emailAddress = page.FindControl("emailAddress") as TextBox; var firstName = page.FindControl("firstName") as TextBox;
62 Views
no comments
function checkEmail(inputvalue){ var pattern=/^([a-zA-Z0-9_.-])+@([a-zA-Z0-9_.-])+\.([a-zA-Z])+([a-zA-Z])+/; if(pattern.test(inputvalue)){ return true; }else{ return false; } }
201 Views
no comments
param ( $fileToImport = $(throw "must have a file to import!") ) $from = "myemail@domain.com" $smtpServer = "smtp.server" $logoName = "d:\path_to_embedded_File\logo.jpg" #Import-Csv $fileToImport | # select to, htmlContent, AttachmentFileName |
789 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
