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

ASP.NET

 
AnswerRe: browser info Pin
playout1-Mar-07 20:06
playout1-Mar-07 20:06 
GeneralRe: browser info Pin
Michael Sync1-Mar-07 20:13
Michael Sync1-Mar-07 20:13 
GeneralRe: browser info Pin
shah zad1-Mar-07 22:41
shah zad1-Mar-07 22:41 
QuestionHow can i send email from my webform Pin
anujose1-Mar-07 19:46
anujose1-Mar-07 19:46 
AnswerRe: How can i send email from my webform Pin
Sylvester george1-Mar-07 19:53
Sylvester george1-Mar-07 19:53 
GeneralRe: How can i send email from my webform Pin
anujose1-Mar-07 20:25
anujose1-Mar-07 20:25 
AnswerRe: How can i send email from my webform Pin
Spunky Coder1-Mar-07 22:13
Spunky Coder1-Mar-07 22:13 
AnswerRe: How can i send email from my webform Pin
shah zad1-Mar-07 22:38
shah zad1-Mar-07 22:38 
i think your smtp have a prob
try this its a working code hope your problem will solved and try to use "try/catch" in your code an then read the exception if code dont work that will explain you whats the problem.....

try
{
MailMessage objMail;
objMail = new MailMessage();
objMail.From = "Sender address";
objMail.To = "Recipient address";
objMail.Subject = "Subject of your mail";
objMail.BodyFormat = MailFormat.Html;//you can use text for text message
objMail.Priority = MailPriority.High;
objMail.Body = "Body of your mail";
SmtpMail.SmtpServer = "Your smtp server name";
SmtpMail.Send(objMail);
objMail = null;
}
catch(Exception ex)
{
Response.Write(ex);//this will tell you the problem if got
}

shezi

GeneralRe: How can i send email from my webform Pin
anujose2-Mar-07 0:21
anujose2-Mar-07 0:21 
GeneralRe: How can i send email from my webform Pin
Sylvester george2-Mar-07 1:47
Sylvester george2-Mar-07 1:47 
GeneralRe: How can i send email from my webform Pin
anujose2-Mar-07 18:01
anujose2-Mar-07 18:01 
GeneralRe: How can i send email from my webform Pin
Haissam3-Mar-07 14:23
Haissam3-Mar-07 14:23 
AnswerRe: How can i send email from my webform [modified] Pin
Vasudevan Deepak Kumar4-Mar-07 2:14
Vasudevan Deepak Kumar4-Mar-07 2:14 
Questionpopup blokcer detection using javascript Pin
babutkchn1-Mar-07 19:38
babutkchn1-Mar-07 19:38 
AnswerRe: popup blokcer detection using javascript Pin
Vasudevan Deepak Kumar4-Mar-07 2:15
Vasudevan Deepak Kumar4-Mar-07 2:15 
Questionvery urgent About HTML and Web server controls in asp.net Pin
Vinay Dornala1-Mar-07 19:10
Vinay Dornala1-Mar-07 19:10 
AnswerRe: very urgent About HTML and Web server controls in asp.net Pin
Malayil alex1-Mar-07 19:20
Malayil alex1-Mar-07 19:20 
AnswerRe: very urgent About HTML and Web server controls in asp.net Pin
SpiderR1-Mar-07 19:26
SpiderR1-Mar-07 19:26 
AnswerRe: very urgent About HTML and Web server controls in asp.net Pin
badgrs1-Mar-07 22:47
badgrs1-Mar-07 22:47 
Questionvery urgent About HTML and Web server controls in asp.net Pin
Vinay Dornala1-Mar-07 19:09
Vinay Dornala1-Mar-07 19:09 
AnswerRe: very urgent About HTML and Web server controls in asp.net Pin
Sylvester george1-Mar-07 20:02
Sylvester george1-Mar-07 20:02 
Questionserver.transfer and server.execute in asp.net Pin
Vinay Dornala1-Mar-07 18:41
Vinay Dornala1-Mar-07 18:41 
AnswerRe: server.transfer and server.execute in asp.net Pin
il_masacratore1-Mar-07 21:43
il_masacratore1-Mar-07 21:43 
QuestionInvoke Member throwing member not found error for a particular function Pin
anufabian1-Mar-07 18:40
anufabian1-Mar-07 18:40 
QuestionHow to extract a CAB file in asp.net c# Pin
Malayil alex1-Mar-07 18:38
Malayil alex1-Mar-07 18:38 

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.