Click here to Skip to main content
15,745,504 members
Home / Discussions / C#
   

C#

 
GeneralRe: DevExpress ApplicationMenu - Status Ba Pin
John S Mangam9-Jan-07 0:45
John S Mangam9-Jan-07 0:45 
QuestionDevExpress ApplicationMenu - Status Ba Pin
John S Mangam8-Jan-07 21:28
John S Mangam8-Jan-07 21:28 
QuestionSetSystemTime Return Parameters Pin
Tyler458-Jan-07 20:52
Tyler458-Jan-07 20:52 
AnswerRe: SetSystemTime Return Parameters Pin
Mircea Puiu8-Jan-07 22:35
Mircea Puiu8-Jan-07 22:35 
QuestionRe: SetSystemTime Return Parameters Pin
alefaga8-May-09 4:56
alefaga8-May-09 4:56 
AnswerRe: SetSystemTime Return Parameters Pin
Tyler458-May-09 4:59
Tyler458-May-09 4:59 
QuestionSending Email in .Net 2.0 Pin
Sarika Wake8-Jan-07 20:35
Sarika Wake8-Jan-07 20:35 
AnswerRe: Sending Email in .Net 2.0 Pin
Chris Buckett8-Jan-07 22:04
Chris Buckett8-Jan-07 22:04 
C#
using System.Net.Mail;
...

SmtpClient smtpClient = new SmtpClient("smtp.myisp.com");
smtpClient.Send("tome@me.com", 
    "fromyou@you.com", 
    "Hello Word", 
    "This is the message");


Also look at the MailMessage class to add more functionality to the send.
You don't need to do anything to web.config.



ChrisB
ChrisDoesDev[^]

QuestionMIME Type in c# Pin
aruna_koride8-Jan-07 19:15
aruna_koride8-Jan-07 19:15 
AnswerRe: MIME Type in c# Pin
Mircea Puiu8-Jan-07 21:53
Mircea Puiu8-Jan-07 21:53 
Questionconst member function Pin
Maddie from Dartford8-Jan-07 18:00
Maddie from Dartford8-Jan-07 18:00 
AnswerRe: const member function Pin
Christian Graus8-Jan-07 18:04
protectorChristian Graus8-Jan-07 18:04 
GeneralRe: const member function Pin
led mike8-Jan-07 18:25
led mike8-Jan-07 18:25 
AnswerRe: const member function Pin
Guffa8-Jan-07 19:02
Guffa8-Jan-07 19:02 
GeneralRe: const member function Pin
CPallini8-Jan-07 21:17
mveCPallini8-Jan-07 21:17 
QuestionC# map template equivalent? Pin
swjam8-Jan-07 17:33
swjam8-Jan-07 17:33 
AnswerRe: C# map template equivalent? Pin
Christian Graus8-Jan-07 18:01
protectorChristian Graus8-Jan-07 18:01 
QuestionTerminating an Application ? Pin
Mike Bluett8-Jan-07 15:40
Mike Bluett8-Jan-07 15:40 
AnswerRe: Terminating an Application ? Pin
Lisa Jorgensen8-Jan-07 16:03
Lisa Jorgensen8-Jan-07 16:03 
GeneralRe: Terminating an Application ? Pin
Mike Bluett8-Jan-07 16:52
Mike Bluett8-Jan-07 16:52 
AnswerRe: Terminating an Application ? Pin
Lisa Jorgensen8-Jan-07 20:11
Lisa Jorgensen8-Jan-07 20:11 
QuestionDisable Window Close Pin
MasterYoda798-Jan-07 14:07
MasterYoda798-Jan-07 14:07 
AnswerRe: Disable Window Close Pin
Luc Pattyn8-Jan-07 14:20
sitebuilderLuc Pattyn8-Jan-07 14:20 
GeneralRe: Disable Window Close Pin
MasterYoda799-Jan-07 6:08
MasterYoda799-Jan-07 6:08 
QuestionHow create "always on bottom" apps? Pin
noemailz8-Jan-07 11:56
noemailz8-Jan-07 11:56 

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.