Click here to Skip to main content
15,888,454 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Save aspx page with html tags Pin
amargujrathi200619-Feb-12 8:23
amargujrathi200619-Feb-12 8:23 
QuestionContent Type Error when trying to access Java Web Server Pin
paas15-Feb-12 2:32
paas15-Feb-12 2:32 
QuestionDal in asp.net(c#) Pin
tayyabvohra15-Feb-12 1:08
tayyabvohra15-Feb-12 1:08 
AnswerRe: Dal in asp.net(c#) Pin
uspatel15-Feb-12 1:27
professionaluspatel15-Feb-12 1:27 
AnswerRe: Dal in asp.net(c#) Pin
Rahul Rajat Singh15-Feb-12 20:22
professionalRahul Rajat Singh15-Feb-12 20:22 
QuestionJQuery with DataList Pin
uspatel14-Feb-12 22:00
professionaluspatel14-Feb-12 22:00 
AnswerRe: JQuery with DataList Pin
Ali Al Omairi(Abu AlHassan)15-Feb-12 23:06
professionalAli Al Omairi(Abu AlHassan)15-Feb-12 23:06 
QuestionSending mail using SMTP Pin
Elizabeth Rani14-Feb-12 19:34
Elizabeth Rani14-Feb-12 19:34 
Hi All,

Can any body help me with some code to send mail using smtp i have a code but mail is not send to a particular mail id. i have written a code as

SmtpClient smtpClient = new SmtpClient();
MailMessage message = new MailMessage();
try
{
MailAddress fromAddress = new MailAddress("xyz@gmail.com", "ABC");
message.From = fromAddress;//here you can set address

message.To.Add("abc@gmail.com.com");//here you can add multiple to

message.Subject = "Feedback";//subject of email


message.Body = @"Plain or HTML Text";

smtpClient.Send(message);

}

catch (Exception ex)
{
lblmsg.Text = "ERROR : " + ex.Message;

}

this code works fine but mail is not been send.

Thanks in Advance
Elizabeth
AnswerRe: Sending mail using SMTP Pin
Bernhard Hiller14-Feb-12 21:05
Bernhard Hiller14-Feb-12 21:05 
GeneralRe: Sending mail using SMTP Pin
Elizabeth Rani14-Feb-12 21:56
Elizabeth Rani14-Feb-12 21:56 
AnswerRe: Sending mail using SMTP Pin
antish120-Feb-12 6:02
antish120-Feb-12 6:02 
QuestionWCF on IIS 6 Pin
Satish_S14-Feb-12 19:06
Satish_S14-Feb-12 19:06 
AnswerRe: WCF on IIS 6 Pin
Keith Barrow14-Feb-12 21:38
professionalKeith Barrow14-Feb-12 21:38 
GeneralRe: WCF on IIS 6 Pin
Satish_S14-Feb-12 23:43
Satish_S14-Feb-12 23:43 
Questionproblem with building an image webservice Pin
kareem olamilekan14-Feb-12 16:07
kareem olamilekan14-Feb-12 16:07 
AnswerRe: problem with building an image webservice Pin
Bernhard Hiller14-Feb-12 21:08
Bernhard Hiller14-Feb-12 21:08 
GeneralRe: problem with building an image webservice Pin
kareem olamilekan15-Feb-12 4:39
kareem olamilekan15-Feb-12 4:39 
QuestionHow to get INPUT value with this ENCTYPE="multipart/form-data" Pin
hifiger200414-Feb-12 0:46
hifiger200414-Feb-12 0:46 
Questionwithdraw money from PayPal Pin
farogh haider14-Feb-12 0:39
farogh haider14-Feb-12 0:39 
QuestionTLS Enabled Pin
padmanabhan N13-Feb-12 5:31
padmanabhan N13-Feb-12 5:31 
AnswerRe: TLS Enabled Pin
Not Active13-Feb-12 8:00
mentorNot Active13-Feb-12 8:00 
QuestionCould not find part of the path..... error Pin
Jassim Rahma12-Feb-12 22:48
Jassim Rahma12-Feb-12 22:48 
AnswerRe: Could not find part of the path..... error Pin
thatraja13-Feb-12 5:45
professionalthatraja13-Feb-12 5:45 
Questioniwanna get share trading application project using c# with ASP.NET Pin
fayazbaba12-Feb-12 21:15
fayazbaba12-Feb-12 21:15 
AnswerRe: iwanna get share trading application project using c# with ASP.NET Pin
Abhinav S12-Feb-12 21:32
Abhinav S12-Feb-12 21:32 

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.