hi, I am using asp.net 3.5 with c# and sql server as database. I have a web space in Godaddy and the email provided by google apps. I uploaded my asp.net files in server. But when i tried to send mail it gives error..
The transport failed to connect to the server.
my coding is well working in local machine .my coding are as follow
public static bool sendmail(string pGmailEmail, string pGmailPassword, string pTo, string pSubject,
string pBody, System.Web.Mail.MailFormat pFormat, string pAttachmentPath)
{
System.Web.Mail.MailMessage mymail = new System.Web.Mail.MailMessage();
mymail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver", "smtp.gmail.com");
mymail.Fields.Add("h ...
Go to the complete details ...