Click here to Skip to main content
15,894,106 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncustomizing account Pin
mmm!@#2-Aug-07 22:21
mmm!@#2-Aug-07 22:21 
QuestionRe: customizing account Pin
T.EDY2-Aug-07 22:29
T.EDY2-Aug-07 22:29 
QuestionRe: customizing account Pin
mmm!@#6-Aug-07 18:31
mmm!@#6-Aug-07 18:31 
AnswerRe: customizing account Pin
Edwin Syarief2-Aug-07 22:50
Edwin Syarief2-Aug-07 22:50 
AnswerRe: customizing account Pin
Bino B3-Aug-07 6:57
Bino B3-Aug-07 6:57 
Questionhow to write feedback form in asp.net v1.1 Pin
aurorae1282-Aug-07 21:58
aurorae1282-Aug-07 21:58 
AnswerRe: how to write feedback form in asp.net v1.1 Pin
Christian Graus2-Aug-07 22:37
protectorChristian Graus2-Aug-07 22:37 
AnswerRe: how to write feedback form in asp.net v1.1 Pin
Talal Sultan2-Aug-07 22:38
Talal Sultan2-Aug-07 22:38 
Hello,

To be able to send email with ASP.NET, you need to use the System.Web.Mail namespace. You would need to have an SMTP server (to send emails) that you can access.

To set the SMTP server you want you application to use, you can use SmtpMail.SmtpServer = yourSMTPServerName

To set up an email to send, use something like this:
MailMessage mail = new MailMessage();
mail.To = toAddress; // your yahoo address
mail.From = fromAddress; // example: someone@someplace.com;anotherone@someplace.com
mail.Body = theEmailTextMessageString;
mail.Subject = theSubjectOfYourMail;

To send the mail, use SmtpMail.Send(mail)

Hope this helps.

Talal

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook

GeneralRe: how to write feedback form in asp.net v1.1 Pin
aurorae1286-Aug-07 3:58
aurorae1286-Aug-07 3:58 
GeneralRe: how to write feedback form in asp.net v1.1 Pin
Talal Sultan8-Aug-07 3:47
Talal Sultan8-Aug-07 3:47 
QuestionQuery join probs.., Pin
Member 38798812-Aug-07 21:33
Member 38798812-Aug-07 21:33 
AnswerRe: Query join probs.., Pin
T.EDY2-Aug-07 22:22
T.EDY2-Aug-07 22:22 
AnswerRe: Query join probs.., Pin
Edwin Syarief2-Aug-07 23:07
Edwin Syarief2-Aug-07 23:07 
QuestionGrid View Header and Footer Pin
mpavas2-Aug-07 21:32
mpavas2-Aug-07 21:32 
AnswerRe: Grid View Header and Footer Pin
Talal Sultan2-Aug-07 21:55
Talal Sultan2-Aug-07 21:55 
GeneralRe: Grid View Header and Footer Pin
mpavas2-Aug-07 22:12
mpavas2-Aug-07 22:12 
AnswerRe: Grid View Header and Footer Pin
Talal Sultan2-Aug-07 22:28
Talal Sultan2-Aug-07 22:28 
GeneralRe: Grid View Header and Footer Pin
mpavas2-Aug-07 22:59
mpavas2-Aug-07 22:59 
GeneralRe: Grid View Header and Footer Pin
Talal Sultan2-Aug-07 23:15
Talal Sultan2-Aug-07 23:15 
GeneralRe: Grid View Header and Footer Pin
mpavas2-Aug-07 23:39
mpavas2-Aug-07 23:39 
QuestionCreate notepad in runtime asp.net Pin
praveenkumar_mca2-Aug-07 21:11
praveenkumar_mca2-Aug-07 21:11 
AnswerRe: Create notepad in runtime asp.net Pin
Christian Graus2-Aug-07 21:26
protectorChristian Graus2-Aug-07 21:26 
AnswerRe: Create notepad in runtime asp.net Pin
Edwin Syarief2-Aug-07 23:13
Edwin Syarief2-Aug-07 23:13 
Questionconver the c# code to corresponding vb.net code Pin
biswa472-Aug-07 20:43
biswa472-Aug-07 20:43 
AnswerRe: conver the c# code to corresponding vb.net code Pin
Christian Graus2-Aug-07 21:33
protectorChristian Graus2-Aug-07 21:33 

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.