Email

Quick Search

Send HTML formatted mail in php

April 9th, 2010 by admin
8 comments »

< ? php
//define the receiver of the email
$to = ‘youremail@testmail.com’;
//define the subject of the email
$subject = ‘Test HTML email’;
//create a boundary string. It must be unique
//so we use the MD5 algorithm to generate a random hash
$random_hash = md5(date(‘r’, time()));
//define the headers we want passed. Note that they are separated with … Read More

Posted in Email
8 comments »

Send mail from ASP.NET using your gmail account

February 27th, 2010 by admin
6 comments »

This article demonstrate that how to send a mail in aspl.net using your gmail account. You can also use other mail account as follow these instructions.

However, one thing the function can’t do is SSL authentication. Lets add that:

public static void SendMail(string sHost, int nPort,
string sUserName, string sPassword, string sFromName,
string sFromEmail, … Read More

Posted in Email
6 comments »

Sending Email with ASP.NET

February 27th, 2010 by admin
No comments »

Asp.net provide a simple way to sending mail. You can implement mail code in you application following type.

 
using System.Web.Mail;
 
public partial class contact_us : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        sendmailfunc();
    }
    public void sendmailfunc()
    {
        string text = “”;
        text = text + “Hello ! this is a … Read More

Posted in Email
No comments »

SEO Company India

search engine marketing company India that offers affordable seo services