Click here to Skip to main content
16,017,304 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using CDO in VC6 how to send email Pin
kakan28-Oct-05 0:39
professionalkakan28-Oct-05 0:39 
GeneralRe: Using CDO in VC6 how to send email Pin
David Crow28-Oct-05 3:10
David Crow28-Oct-05 3:10 
GeneralRe: Using CDO in VC6 how to send email Pin
ThatsAlok28-Oct-05 4:10
ThatsAlok28-Oct-05 4:10 
Questionhow to implementate a registration script Pin
T.J.27-Oct-05 22:52
T.J.27-Oct-05 22:52 
QuestionCapture lost when both mouse buttons are pressed and one released Pin
Dan Pidcock27-Oct-05 22:10
Dan Pidcock27-Oct-05 22:10 
QuestionSending email in VC++ 6.0 Pin
naeemnimi27-Oct-05 21:55
naeemnimi27-Oct-05 21:55 
AnswerRe: Sending email in VC++ 6.0 Pin
ThatsAlok27-Oct-05 22:16
ThatsAlok27-Oct-05 22:16 
GeneralRe: Sending email in VC++ 6.0 Pin
Intertherain28-Oct-05 2:30
Intertherain28-Oct-05 2:30 
http://www.codeproject.com/internet/csmtpconn.asp[^]
The method that the above site provides may be useful to send e_mail on the old smtp protocol servers. This kind of servers dont need the user name and password when they are connected to send e_mail. But now most of the e_mail servers update e-mail system for security and against rubbish e-mails.They ask users to provide user names and passwords to be connected.
to send mail,you should follow:
1、use socket to connect to the smtp server .
2、send "ehlo the smtp server \r\n" to the smtp server . you will receive the "250" from the smtp server,which stands for ok.

3、send "auth login \r\n" .then will receive the "334" from the smtp server.

4、send "your user name\r\n" which is encoded by the base64 arithmetic. you will receive the "334" .

5、send "your password"which encoded by the base64 arithmetic. you will receive the "235" that stands for ok.

6、so much to write.then follow the above site to continue.




libo
GeneralRe: Sending email in VC++ 6.0 Pin
ThatsAlok30-Oct-05 19:15
ThatsAlok30-Oct-05 19:15 
AnswerRe: Sending email in VC++ 6.0 Pin
Mircea Puiu27-Oct-05 22:28
Mircea Puiu27-Oct-05 22:28 
Questionwhat does '\.\' mean in a path Pin
Monty227-Oct-05 21:52
Monty227-Oct-05 21:52 
AnswerRe: what does '\.\' mean in a path Pin
toxcct27-Oct-05 22:23
toxcct27-Oct-05 22:23 
QuestionUnder Win98 Pin
LiYS27-Oct-05 20:42
LiYS27-Oct-05 20:42 
AnswerRe: Under Win98 Pin
Steve Mayfield27-Oct-05 21:38
Steve Mayfield27-Oct-05 21:38 
AnswerRe: Under Win98 Pin
Parthiban28-Oct-05 1:56
Parthiban28-Oct-05 1:56 
AnswerRe: Under Win98 Pin
David Crow28-Oct-05 3:23
David Crow28-Oct-05 3:23 
QuestionDisabling Menu Item Pin
thelip27-Oct-05 20:39
thelip27-Oct-05 20:39 
AnswerRe: Disabling Menu Item Pin
Mircea Puiu27-Oct-05 21:13
Mircea Puiu27-Oct-05 21:13 
AnswerRe: Disabling Menu Item Pin
toxcct27-Oct-05 21:13
toxcct27-Oct-05 21:13 
AnswerRe: Disabling Menu Item Pin
ThatsAlok27-Oct-05 22:21
ThatsAlok27-Oct-05 22:21 
QuestionDEBUG AND RELEASE MODE Pin
karmendra_js27-Oct-05 19:52
karmendra_js27-Oct-05 19:52 
AnswerRe: DEBUG AND RELEASE MODE Pin
kakan27-Oct-05 20:16
professionalkakan27-Oct-05 20:16 
GeneralRe: DEBUG AND RELEASE MODE Pin
Chintoo72328-Oct-05 7:10
Chintoo72328-Oct-05 7:10 
GeneralRe: DEBUG AND RELEASE MODE Pin
Gary R. Wheeler29-Oct-05 4:45
Gary R. Wheeler29-Oct-05 4:45 
GeneralRe: DEBUG AND RELEASE MODE Pin
kakan30-Oct-05 20:10
professionalkakan30-Oct-05 20:10 

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.