Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MDI windows - using FileNew and FileOpen Pin
Christian Graus20-Jun-02 12:25
protectorChristian Graus20-Jun-02 12:25 
GeneralRe: MDI windows - using FileNew and FileOpen Pin
Roger Allen20-Jun-02 23:30
Roger Allen20-Jun-02 23:30 
GeneralAbout Dialogs Pin
20-Jun-02 11:40
suss20-Jun-02 11:40 
GeneralRe: About Dialogs Pin
Joaquín M López Muñoz20-Jun-02 11:51
Joaquín M López Muñoz20-Jun-02 11:51 
GeneralRe: About Dialogs Pin
Dana Holt20-Jun-02 11:52
Dana Holt20-Jun-02 11:52 
GeneralRe: About Dialogs Pin
Ravi Bhavnani20-Jun-02 15:51
professionalRavi Bhavnani20-Jun-02 15:51 
QuestionSo, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
20-Jun-02 11:40
suss20-Jun-02 11:40 
AnswerRe: So, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
Anders Molin20-Jun-02 12:24
professionalAnders Molin20-Jun-02 12:24 
Anonymous wrote:
How do you send email in your C/C++/MFC programs if the SMTP server requires authentication?

You write the code yourself instead of using some built-in systems which can't.

Take a look at RFC2554 it says it all.

Basicly you send an AUTH command to the server, then it sends a Base64 encoded string back to you asking for a username, then you send the (Base64 encoded) username back to the server, then it asks for the password, and you send the password to the server.

Depending on what the server supports the "encoding" can also be MD5-Cram or MD5-Digest checksums instead of Base64 encoding.

- Anders

Money talks, but all mine ever says is "Goodbye!"
GeneralRe: So, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
Abin20-Jun-02 15:42
Abin20-Jun-02 15:42 
GeneralRe: So, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
Ravi Bhavnani20-Jun-02 15:53
professionalRavi Bhavnani20-Jun-02 15:53 
GeneralRe: So, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
Anders Molin21-Jun-02 5:44
professionalAnders Molin21-Jun-02 5:44 
AnswerRe: So, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
Nish Nishant20-Jun-02 12:32
sitebuilderNish Nishant20-Jun-02 12:32 
GeneralRe: So, did anyone here figured how to send emails if the SMTP server requires authentication? Pin
Anders Molin21-Jun-02 5:45
professionalAnders Molin21-Jun-02 5:45 
Generalexception handling w/ Variants Pin
Paul M Watt20-Jun-02 11:30
mentorPaul M Watt20-Jun-02 11:30 
GeneralRe: exception handling w/ Variants Pin
Rama Krishna Vavilala20-Jun-02 11:34
Rama Krishna Vavilala20-Jun-02 11:34 
GeneralRe: exception handling w/ Variants Pin
Paul M Watt20-Jun-02 11:39
mentorPaul M Watt20-Jun-02 11:39 
GeneralRe: exception handling w/ Variants Pin
Joaquín M López Muñoz20-Jun-02 11:49
Joaquín M López Muñoz20-Jun-02 11:49 
GeneralRe: exception handling w/ Variants Pin
Paul M Watt20-Jun-02 12:35
mentorPaul M Watt20-Jun-02 12:35 
GeneralCopying files/directories Pin
esapp42020-Jun-02 11:00
esapp42020-Jun-02 11:00 
GeneralRe: Copying files/directories Pin
Ramu Pulipati20-Jun-02 11:11
Ramu Pulipati20-Jun-02 11:11 
GeneralQuestions about the BITMAP structure. Pin
redeemer20-Jun-02 10:42
redeemer20-Jun-02 10:42 
GeneralRe: Questions about the BITMAP structure. Pin
Bill Wilson20-Jun-02 11:01
Bill Wilson20-Jun-02 11:01 
GeneralRe: Questions about the BITMAP structure. Pin
redeemer20-Jun-02 11:45
redeemer20-Jun-02 11:45 
GeneralRe: Questions about the BITMAP structure. Pin
Christian Graus20-Jun-02 12:24
protectorChristian Graus20-Jun-02 12:24 
QuestionHow do I handle events from a dynamically created ActiveX control? Pin
Dave Janu20-Jun-02 10:20
Dave Janu20-Jun-02 10:20 

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.