Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: floating point Pin
Alan Balkany6-Jun-08 4:03
Alan Balkany6-Jun-08 4:03 
QuestionTo create status bar Pin
KASR16-Jun-08 0:45
KASR16-Jun-08 0:45 
AnswerRe: To create status bar Pin
Hamid_RT6-Jun-08 0:57
Hamid_RT6-Jun-08 0:57 
Question[Message Deleted] Pin
Trupti Mehta5-Jun-08 23:54
Trupti Mehta5-Jun-08 23:54 
AnswerRe: Reset an object dynamically Pin
Cedric Moonen6-Jun-08 0:08
Cedric Moonen6-Jun-08 0:08 
AnswerRe: Reset an object dynamically Pin
CPallini6-Jun-08 0:11
mveCPallini6-Jun-08 0:11 
QuestionSend a email Pin
john56325-Jun-08 23:53
john56325-Jun-08 23:53 
AnswerRe: Send a email Pin
tasumisra6-Jun-08 0:07
tasumisra6-Jun-08 0:07 
Did U google this ????

you can find it from

<a href="http://www.codeproject.com/KB/aspnet/EmailApplication.aspx">http://www.codeproject.com/KB/aspnet/EmailApplication.aspx</a>[<a href="http://www.codeproject.com/KB/aspnet/EmailApplication.aspx" target="_blank" title="New Window">^</a>]



and this also...

[^]



or if u r looking for code only


MailMessage message = new MailMessage();

message.From = new MailAddress("sender@foo.bar.com");

 

message.To.Add(new MailAddress("recipient1@foo.bar.com"));

message.To.Add(new MailAddress("recipient2@foo.bar.com"));

message.To.Add(new MailAddress("recipient3@foo.bar.com"));

 

message.CC.Add(new MailAddress("carboncopy@foo.bar.com"));

message.Subject = "This is my subject";

message.Body = "This is the content";

 

SmtpClient client = new SmtpClient();

client.Send(message);



but before asking for help u should google ... Smile | :)

vikas da

QuestionRe: Send a email PinPopular
Michael Schubert6-Jun-08 0:16
Michael Schubert6-Jun-08 0:16 
JokeRe: Send a email Pin
Hamid_RT6-Jun-08 1:18
Hamid_RT6-Jun-08 1:18 
GeneralRe: Send a email Pin
tasumisra6-Jun-08 1:34
tasumisra6-Jun-08 1:34 
GeneralRe: Send a email Pin
Hamid_RT6-Jun-08 1:43
Hamid_RT6-Jun-08 1:43 
QuestionRe: Send a email Pin
CPallini6-Jun-08 0:08
mveCPallini6-Jun-08 0:08 
AnswerRe: Send a email Pin
john56326-Jun-08 0:40
john56326-Jun-08 0:40 
GeneralRe: Send a email Pin
tasumisra6-Jun-08 0:46
tasumisra6-Jun-08 0:46 
GeneralRe: Send a email Pin
Rajesh R Subramanian6-Jun-08 1:02
professionalRajesh R Subramanian6-Jun-08 1:02 
GeneralRe: Send a email Pin
tasumisra6-Jun-08 1:36
tasumisra6-Jun-08 1:36 
GeneralRe: Send a email Pin
CPallini6-Jun-08 0:47
mveCPallini6-Jun-08 0:47 
AnswerRe: Send a email Pin
ShilpiP6-Jun-08 0:09
ShilpiP6-Jun-08 0:09 
AnswerRe: Send a email Pin
Hamid_RT6-Jun-08 0:56
Hamid_RT6-Jun-08 0:56 
AnswerRe: Send a email Pin
David Crow6-Jun-08 3:10
David Crow6-Jun-08 3:10 
QuestionRecognize Sound Output ( hook? ) Pin
Cyjackz5-Jun-08 23:41
Cyjackz5-Jun-08 23:41 
Questioncapture login information Pin
hariramesh5-Jun-08 23:28
hariramesh5-Jun-08 23:28 
JokeRe: capture login information Pin
CPallini5-Jun-08 23:49
mveCPallini5-Jun-08 23:49 
GeneralRe: capture login information Pin
Michael Schubert6-Jun-08 0:00
Michael Schubert6-Jun-08 0:00 

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.