Click here to Skip to main content
15,923,389 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Home Page Alert Pin
N a v a n e e t h7-May-09 22:35
N a v a n e e t h7-May-09 22:35 
AnswerRe: Home Page Alert Pin
Abhijit Jana8-May-09 0:07
professionalAbhijit Jana8-May-09 0:07 
QuestionCopy selected data from one treeview to another Pin
meeram3957-May-09 22:01
meeram3957-May-09 22:01 
AnswerRe: Copy selected data from one treeview to another Pin
meeram3957-May-09 23:47
meeram3957-May-09 23:47 
Questionpass a value to class Pin
vnsraj7-May-09 21:54
vnsraj7-May-09 21:54 
AnswerRe: pass a value to class Pin
N a v a n e e t h7-May-09 22:08
N a v a n e e t h7-May-09 22:08 
AnswerRe: pass a value to class Pin
Abhijit Jana7-May-09 23:44
professionalAbhijit Jana7-May-09 23:44 
Questionmail sending problem through gmail account Pin
prateekfgiet7-May-09 21:42
prateekfgiet7-May-09 21:42 
hi,
i m using asp.net c#
and i m trying to send mail via gmail account
code is

MailMessage message = new MailMessage();
message.From = new MailAddress("prtaeekfgiet@gmail.com");
message.To.Add(new MailAddress("rma.maksat@gmail.com"));
//message.To.Add(new MailAddress("recipient2@foo.bar.com"));
//message.To.Add(new MailAddress("recipient3@foo.bar.com"));
//message.CC.Add(new MailAddress("carboncopy@foo.bar.com"));
message.Subject = "This is my subject";
message.Body = "This is the content";
SmtpClient client = new SmtpClient();
client.Send(message);

<system.net>

<mailSettings>

<smtp from="prateekfgiet@gmail.com">

<network host="smtp.gmail.com" port="587" userName="prateekfgiet" password="password" defaultCredentials="true" />

</smtp>

</mailSettings>
but its give error
error is
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. k2sm932784rvb.8

pls help me
AnswerRe: mail sending problem through gmail account Pin
Vasudevan Deepak Kumar7-May-09 21:56
Vasudevan Deepak Kumar7-May-09 21:56 
Questionneed licence for DirtyPanel.dll??? Urgent Pin
t1111117-May-09 21:31
t1111117-May-09 21:31 
AnswerRe: need licence for DirtyPanel.dll??? Urgent Pin
Vasudevan Deepak Kumar7-May-09 21:33
Vasudevan Deepak Kumar7-May-09 21:33 
AnswerRe: need licence for DirtyPanel.dll??? Urgent Pin
Abhijit Jana7-May-09 21:44
professionalAbhijit Jana7-May-09 21:44 
Questioncan i use the DirtyPanel.dll?? Pin
t1111117-May-09 21:26
t1111117-May-09 21:26 
AnswerRe: can i use the DirtyPanel.dll?? Pin
Vasudevan Deepak Kumar7-May-09 21:36
Vasudevan Deepak Kumar7-May-09 21:36 
QuestionWeb host AJAX support Pin
Matt Cavanagh7-May-09 21:09
Matt Cavanagh7-May-09 21:09 
AnswerRe: Web host AJAX support Pin
Vasudevan Deepak Kumar7-May-09 21:37
Vasudevan Deepak Kumar7-May-09 21:37 
AnswerRe: Web host AJAX support Pin
N a v a n e e t h7-May-09 22:06
N a v a n e e t h7-May-09 22:06 
QuestionAlert is not coming Pin
rakeshs3127-May-09 20:34
rakeshs3127-May-09 20:34 
AnswerRe: Alert is not coming Pin
Vasudevan Deepak Kumar7-May-09 21:04
Vasudevan Deepak Kumar7-May-09 21:04 
QuestionSession not working in class file Pin
vnsraj7-May-09 20:03
vnsraj7-May-09 20:03 
AnswerRe: Session not working in class file Pin
Abhijit Jana7-May-09 20:17
professionalAbhijit Jana7-May-09 20:17 
GeneralRe: Session not working in class file Pin
vnsraj7-May-09 20:22
vnsraj7-May-09 20:22 
GeneralRe: Session not working in class file Pin
Abhijit Jana7-May-09 20:33
professionalAbhijit Jana7-May-09 20:33 
Questionreading data from biomatrix Pin
nikhil12347-May-09 18:15
nikhil12347-May-09 18:15 
AnswerRe: reading data from biomatrix Pin
Abhijit Jana7-May-09 18:57
professionalAbhijit Jana7-May-09 18:57 

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.