Author: finsofts | Posted on: 4/9/2009 8:33:27 PM | Views : 419

I used Wizard for sending Mail , but the mailMessage( ) function returns error, Email address format is incorrect please help me
     private void SendMail(string from, string body)
    {
        String mailServerName = "mail.keralaholidaytour.com";
        MailMessage message = new MailMessage(from, "info@keralaholidaytour.com", "BookingEnquiry", body);
        SmtpClient mailClient = new SmtpClient();
        mailClient.Host = mailServerName;
        mailClient.Send(message);
        message.Dispose();
    }

...

Go to the complete details ...