Click here to Skip to main content
15,900,461 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Parse Error :[No relevant source lines] Pin
eyeseetee19-May-08 21:22
eyeseetee19-May-08 21:22 
AnswerRe: Parse Error :[No relevant source lines] Pin
K.Safvi20-May-08 1:44
K.Safvi20-May-08 1:44 
QuestionChange text direction and language Pin
samerh19-May-08 20:14
samerh19-May-08 20:14 
AnswerRe: Change text direction and language Pin
Spunky Coder19-May-08 20:33
Spunky Coder19-May-08 20:33 
QuestionHow to send mail to user for sending password ? [modified] Pin
anpm19-May-08 19:18
anpm19-May-08 19:18 
AnswerRe: How to send mail to user for sending password ? Pin
Abhijit Jana19-May-08 19:39
professionalAbhijit Jana19-May-08 19:39 
AnswerRe: How to send mail to user for sending password ? Pin
N a v a n e e t h19-May-08 19:58
N a v a n e e t h19-May-08 19:58 
GeneralRe: How to send mail to user for sending password ? Pin
anpm19-May-08 20:28
anpm19-May-08 20:28 
when I removed try catch

i am getting exception
failure sending mail

I have changed my code like this


MailAddress MaTo=new MailAddress (e.Message .To .ToString ());
MailAddress MaFrom=new MailAddress (e.Message .From .ToString ());
MailMessage mm = new MailMessage(MaFrom, MaTo);
mm.Subject = e.Message.Subject;
mm.Body = e.Message.Body;
SmtpClient smtp = new SmtpClient("smtp.google.com", 465);

smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.UseDefaultCredentials = false;
smtp.Credentials = new System.Net.NetworkCredential("daedalus.mail@gmail.com", "Daedalus1");
smtp.EnableSsl = true;
smtp.Send(mm);
AnswerRe: How to send mail to user for sending password ? Pin
Christian Graus19-May-08 20:24
protectorChristian Graus19-May-08 20:24 
GeneralRe: How to send mail to user for sending password ? Pin
anpm19-May-08 20:43
anpm19-May-08 20:43 
Questioncursor index Pin
meghamaharshi19-May-08 18:59
meghamaharshi19-May-08 18:59 
AnswerRe: cursor index Pin
Abhijit Jana19-May-08 19:42
professionalAbhijit Jana19-May-08 19:42 
GeneralRe: cursor index Pin
meghamaharshi19-May-08 19:53
meghamaharshi19-May-08 19:53 
Questionsession problem Pin
RajeevKumarSharma19-May-08 18:52
RajeevKumarSharma19-May-08 18:52 
AnswerRe: session problem Pin
Expert Coming19-May-08 19:14
Expert Coming19-May-08 19:14 
GeneralRe: session problem Pin
RajeevKumarSharma19-May-08 19:24
RajeevKumarSharma19-May-08 19:24 
GeneralRe: session problem Pin
Guffa19-May-08 19:32
Guffa19-May-08 19:32 
GeneralRe: session problem Pin
RajeevKumarSharma19-May-08 19:39
RajeevKumarSharma19-May-08 19:39 
GeneralRe: session problem Pin
eyeseetee19-May-08 21:20
eyeseetee19-May-08 21:20 
QuestionGridView, Common error message Pin
mpavas19-May-08 12:48
mpavas19-May-08 12:48 
AnswerRe: GridView, Common error message Pin
Christian Graus19-May-08 13:13
protectorChristian Graus19-May-08 13:13 
GeneralRe: GridView, Common error message Pin
mpavas19-May-08 13:28
mpavas19-May-08 13:28 
GeneralRe: GridView, Common error message Pin
keyboard warrior19-May-08 17:16
keyboard warrior19-May-08 17:16 
AnswerRe: GridView, Common error message Pin
mpavas19-May-08 14:38
mpavas19-May-08 14:38 
QuestionThe Security Exception Mystery Pin
gantww19-May-08 9:31
gantww19-May-08 9:31 

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.