Click here to Skip to main content
15,909,205 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: error: The server tag is not well formed Pin
KhandelwalA22-Jun-09 23:13
KhandelwalA22-Jun-09 23:13 
GeneralRe: error: The server tag is not well formed Pin
Christian Graus23-Jun-09 0:00
protectorChristian Graus23-Jun-09 0:00 
GeneralRe: error: The server tag is not well formed Pin
KhandelwalA23-Jun-09 0:06
KhandelwalA23-Jun-09 0:06 
AnswerRe: error: The server tag is not well formed Pin
himanshu256122-Jun-09 21:08
himanshu256122-Jun-09 21:08 
GeneralRe: error: The server tag is not well formed Pin
KhandelwalA22-Jun-09 21:17
KhandelwalA22-Jun-09 21:17 
GeneralRe: error: The server tag is not well formed Pin
K030622-Jun-09 21:35
K030622-Jun-09 21:35 
AnswerRe: error: The server tag is not well formed Pin
padmanabhan N22-Jun-09 21:22
padmanabhan N22-Jun-09 21:22 
Questionproblem in sending mail using gmail account Pin
prateekfgiet22-Jun-09 20:27
prateekfgiet22-Jun-09 20:27 
hiii
i m using asp.net 2.0 using c#
i have made a application which have a form after filling that form it will send mail automatic.it was working till morning, but now it will send error
The remote certificate is invalid according to the validation procedure.

code is:
SmtpClient client = new SmtpClient();
client.DeliveryMethod = SmtpDeliveryMethod.Network;
client.EnableSsl = true;
client.Host = "smtp.gmail.com";
client.Port = 587;
System.Net.NetworkCredential credentials = new System.Net.NetworkCredential("rma.maksat@gmail.com", "******");
client.UseDefaultCredentials = false;
client.Credentials = credentials;
MailMessage msg = new MailMessage();
msg.From = new MailAddress("rma.maksat@gmail.com");

msg.To.Add(new MailAddress("prateekfgiet@gmail.com"));
msg.To.Add(new MailAddress("prateek_fgiet@yahoo.com"));
msg.To.Add(new MailAddress("prateekfgiet@live.in"));
//msg.To.Add(new MailAddress("TextBox10.Text"));
msg.Subject = "New RMA No:'" + Label3.Text + "'";
msg.IsBodyHtml = true;
msg.Body = "<html><body><b>RMA No is:</b>'" + Label3.Text + "',<br /><p><b>Srno is:</b>'" + TextBox1.Text + "',<br /><b>Product Name:</b>'" + TextBox3.Text + "',<br /><b>Problem Description:</b>'" + TextBox5.Text + "'</p>,<p><b>Company Name:</b>'" + TextBox6.Text + "',<br /><b>Contact Number:</b>'" + TextBox8.Text + "',<br /><b>Entry By:</b>'" + TextBox4.Text + "',<br /></p> </body></html>";
client.Send(msg);
please help me
thanks in advance
AnswerRe: problem in sending mail using gmail account Pin
Abhishek Sur22-Jun-09 22:13
professionalAbhishek Sur22-Jun-09 22:13 
AnswerRe: problem in sending mail using gmail account Pin
Baran M22-Jun-09 23:23
Baran M22-Jun-09 23:23 
QuestionServer error... Pin
RajpootRohan22-Jun-09 19:58
professionalRajpootRohan22-Jun-09 19:58 
AnswerRe: Server error... Pin
Vasudevan Deepak Kumar22-Jun-09 20:19
Vasudevan Deepak Kumar22-Jun-09 20:19 
GeneralRe: Server error... Pin
RajpootRohan22-Jun-09 20:45
professionalRajpootRohan22-Jun-09 20:45 
GeneralRe: Server error... Pin
Vasudevan Deepak Kumar22-Jun-09 20:50
Vasudevan Deepak Kumar22-Jun-09 20:50 
GeneralRe: Server error... Pin
RajpootRohan22-Jun-09 20:55
professionalRajpootRohan22-Jun-09 20:55 
GeneralRe: Server error... Pin
RajpootRohan22-Jun-09 20:50
professionalRajpootRohan22-Jun-09 20:50 
AnswerRe: Server error... Pin
Abhijit Jana23-Jun-09 0:07
professionalAbhijit Jana23-Jun-09 0:07 
QuestionHow to add default document in web hosting Pin
C#Coudou22-Jun-09 19:48
C#Coudou22-Jun-09 19:48 
AnswerRe: How to add default document in web hosting Pin
Vasudevan Deepak Kumar22-Jun-09 20:21
Vasudevan Deepak Kumar22-Jun-09 20:21 
GeneralRe: How to add default document in web hosting Pin
C#Coudou22-Jun-09 20:57
C#Coudou22-Jun-09 20:57 
QuestionConnect sybase through asp.net Pin
N.Muthusamy22-Jun-09 18:56
N.Muthusamy22-Jun-09 18:56 
AnswerRe: Connect sybase through asp.net Pin
Christian Graus22-Jun-09 19:25
protectorChristian Graus22-Jun-09 19:25 
GeneralRe: Connect sybase through asp.net Pin
N.Muthusamy22-Jun-09 22:59
N.Muthusamy22-Jun-09 22:59 
AnswerRe: Connect sybase through asp.net Pin
Vasudevan Deepak Kumar22-Jun-09 20:24
Vasudevan Deepak Kumar22-Jun-09 20:24 
GeneralRe: Connect sybase through asp.net Pin
N.Muthusamy22-Jun-09 23:01
N.Muthusamy22-Jun-09 23:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.