Click here to Skip to main content
15,899,002 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: read binary? Pin
David Crow15-Apr-05 2:27
David Crow15-Apr-05 2:27 
GeneralService with logon user Pin
K@LPESH13-Apr-05 19:15
K@LPESH13-Apr-05 19:15 
GeneralGetActiveWindow Pin
fordge13-Apr-05 17:53
fordge13-Apr-05 17:53 
GeneralRe: GetActiveWindow Pin
Ryan Binns13-Apr-05 18:31
Ryan Binns13-Apr-05 18:31 
GeneralCPropertyPage - Debug v. Release Pin
john john mackey13-Apr-05 14:14
john john mackey13-Apr-05 14:14 
GeneralRe: CPropertyPage - Debug v. Release Pin
Jack Puppy13-Apr-05 17:02
Jack Puppy13-Apr-05 17:02 
Generalmailing + smtp Pin
_tasleem13-Apr-05 12:30
_tasleem13-Apr-05 12:30 
GeneralRe: mailing + smtp Pin
Jack Puppy13-Apr-05 13:16
Jack Puppy13-Apr-05 13:16 
An SMTP server is just a server that receives e-mail messages and then routes them to the appropriate recipient. You don't need one on the machine that's sending the mail. (you can install one if you want, but most ISPs provide one for you)

So when you load your e-mail client up and blast off a message, it gets sent to an SMTP server (the one setup in your client), which then analyzes the message information and relays it to another SMTP server or stores it locally if it has reached its final destination.

I guess a real world analogy of an SMTP server would be a post office. You write the letter (create e-mail), then take it to the post office. (click Send in e-mail client). It doesn't matter which post office you take it to, just as it doesn't matter which SMTP server you send your e-mail to - they all follow the same protocol. Once there, the mailman (code in the server) analyzes the address, then determines the best route (hah) to deliver it. The letter is then transfered to another post office (SMTP server) or is placed in a mailbox. (Inbox)

All background info on SMTP can be found here:
http://www.faqs.org/rfcs/rfc821.html

For sending in code:

1) Nish's New Article
http://www.codeproject.com/tips/CSMTPConnection2.asp

2) MAPI is another common way for sending mail. If you search the MFC code in your Visual Studio install folder, the CDocument class has a function that implements MAPI. (OnFileSend or such)



Suspicious | :suss: Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
GeneralRe: C++ program Pin
David Crow13-Apr-05 10:32
David Crow13-Apr-05 10:32 
GeneralRe: C++ program Pin
#realJSOP13-Apr-05 10:02
professional#realJSOP13-Apr-05 10:02 
GeneralRe: C++ program Pin
David Crow13-Apr-05 10:34
David Crow13-Apr-05 10:34 
GeneralRe: C++ program Pin
Christian Graus13-Apr-05 15:16
protectorChristian Graus13-Apr-05 15:16 
GeneralRe: C++ program Pin
namaskaaram13-Apr-05 20:02
namaskaaram13-Apr-05 20:02 
GeneralCHTMLView - displaying from a stream of text Pin
#realJSOP13-Apr-05 7:19
professional#realJSOP13-Apr-05 7:19 
GeneralRe: CHTMLView - displaying from a stream of text Pin
Michael Dunn13-Apr-05 7:26
sitebuilderMichael Dunn13-Apr-05 7:26 
GeneralRe: CHTMLView - displaying from a stream of text Pin
#realJSOP13-Apr-05 9:09
professional#realJSOP13-Apr-05 9:09 
GeneralRe: CHTMLView - displaying from a stream of text Pin
Michael Dunn13-Apr-05 13:00
sitebuilderMichael Dunn13-Apr-05 13:00 
GeneralRe: CHTMLView - displaying from a stream of text Pin
Ravi Bhavnani13-Apr-05 10:30
professionalRavi Bhavnani13-Apr-05 10:30 
GeneralRe: CHTMLView - displaying from a stream of text Pin
#realJSOP14-Apr-05 7:09
professional#realJSOP14-Apr-05 7:09 
QuestionWhat would be the best approach to read the following structured text with C++ Pin
mike9a13-Apr-05 6:16
mike9a13-Apr-05 6:16 
AnswerRe: What would be the best approach to read the following structured text with C++ Pin
toxcct13-Apr-05 20:51
toxcct13-Apr-05 20:51 
QuestionHow can I use the DDK with VC6.0? Pin
zhenyuanwu13-Apr-05 5:16
zhenyuanwu13-Apr-05 5:16 
AnswerRe: How can I use the DDK with VC6.0? Pin
Mike Dimmick13-Apr-05 8:16
Mike Dimmick13-Apr-05 8:16 
GeneralRe: How can I use the DDK with VC6.0? Pin
Alexander M.,14-Apr-05 9:17
Alexander M.,14-Apr-05 9:17 
GeneralRe: How can I use the DDK with VC6.0? Pin
Mike Dimmick14-Apr-05 9:31
Mike Dimmick14-Apr-05 9:31 

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.