Click here to Skip to main content
16,004,919 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Login Form Problem Pin
Y_Kaushik3-Jul-07 0:51
Y_Kaushik3-Jul-07 0:51 
GeneralRe: Login Form Problem Pin
Sathesh Sakthivel3-Jul-07 0:53
Sathesh Sakthivel3-Jul-07 0:53 
GeneralRe: Login Form Problem Pin
Sandeep Akhare3-Jul-07 0:41
Sandeep Akhare3-Jul-07 0:41 
QuestionReportViewer printing problem Pin
adamoz3-Jul-07 0:33
adamoz3-Jul-07 0:33 
AnswerRe: ReportViewer printing problem Pin
Sathesh Sakthivel3-Jul-07 0:35
Sathesh Sakthivel3-Jul-07 0:35 
GeneralRe: ReportViewer printing problem Pin
adamoz3-Jul-07 0:55
adamoz3-Jul-07 0:55 
QuestionLicense feature in an Intranet application Pin
Quest073-Jul-07 0:27
Quest073-Jul-07 0:27 
QuestionSending Mail Pin
.NET- India 3-Jul-07 0:21
.NET- India 3-Jul-07 0:21 
Hello Everyone,

I'm try to send email on the net.

The coding i've used is given below. This piece of code is just generating the message "Message Sent Successfully" but not sending the message physically

This code of piece is clicked over a Button




MailMessage mail=new MailMessage();

mail.To="manoj.manojbisht@gmail.com";
mail.From="msb1984_620@yahoo.com";
mail.Subject="Manoj Bisht";
mail.Priority=MailPriority.High;

mail.Body="I Love U Do You Love Me";






try
{
SmtpMail.SmtpServer="";
SmtpMail.Send(mail);
//Response.Write("Mail Sent Successfully");
lblMsg.Text="Mail Sent Succesffully";
lblMsg.ForeColor=Color.DarkBlue;
}

catch(Exception ex)
{
Response.Write("Message Failed");
}
AnswerRe: Sending Mail Pin
Sathesh Sakthivel3-Jul-07 0:22
Sathesh Sakthivel3-Jul-07 0:22 
AnswerRe: Sending Mail Pin
Sandeep Akhare3-Jul-07 0:38
Sandeep Akhare3-Jul-07 0:38 
GeneralRe: Sending Mail Pin
Sathesh Sakthivel3-Jul-07 0:49
Sathesh Sakthivel3-Jul-07 0:49 
GeneralRe: Sending Mail Pin
Sandeep Akhare3-Jul-07 0:57
Sandeep Akhare3-Jul-07 0:57 
GeneralRe: Sending Mail Pin
Sathesh Sakthivel3-Jul-07 1:03
Sathesh Sakthivel3-Jul-07 1:03 
AnswerRe: Sending Mail Pin
Krish - KP3-Jul-07 0:45
Krish - KP3-Jul-07 0:45 
GeneralRe: Sending Mail Pin
.NET- India 3-Jul-07 0:49
.NET- India 3-Jul-07 0:49 
GeneralRe: Sending Mail Pin
PrakashBhaskar3-Jul-07 1:16
PrakashBhaskar3-Jul-07 1:16 
AnswerRe: Sending Mail Pin
Krish - KP4-Jul-07 21:37
Krish - KP4-Jul-07 21:37 
Questioncursor focus back on text box Pin
Piyush Vardhan Singh3-Jul-07 0:16
Piyush Vardhan Singh3-Jul-07 0:16 
Questiongenerate random number Pin
darshan4u3-Jul-07 0:12
darshan4u3-Jul-07 0:12 
AnswerRe: generate random number Pin
Sathesh Sakthivel3-Jul-07 0:15
Sathesh Sakthivel3-Jul-07 0:15 
AnswerRe: generate random number Pin
Sandeep Akhare3-Jul-07 0:17
Sandeep Akhare3-Jul-07 0:17 
QuestionInsert and edit values in dropdown at run time asp.net with C# code Pin
SukhiGolden2-Jul-07 23:58
SukhiGolden2-Jul-07 23:58 
AnswerRe: Insert and edit values in dropdown at run time asp.net with C# code Pin
Sandeep Akhare3-Jul-07 0:04
Sandeep Akhare3-Jul-07 0:04 
AnswerThe rules Pin
leckey3-Jul-07 3:20
leckey3-Jul-07 3:20 
QuestionEdit and insert new values in dropdown box at runtime Pin
SukhiGolden2-Jul-07 23:45
SukhiGolden2-Jul-07 23:45 

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.