Click here to Skip to main content
16,007,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionproblem Pin
pankajgarg1211-Apr-06 19:35
pankajgarg1211-Apr-06 19:35 
AnswerRe: problem Pin
Cedric Moonen11-Apr-06 20:28
Cedric Moonen11-Apr-06 20:28 
Questionwhat is type-safe in C++ Pin
Krishnatv11-Apr-06 19:08
Krishnatv11-Apr-06 19:08 
AnswerRe: what is type-safe in C++ Pin
Ștefan-Mihai MOGA11-Apr-06 20:38
professionalȘtefan-Mihai MOGA11-Apr-06 20:38 
Questionstore and retrive the metafile information Pin
anilksingh11-Apr-06 18:46
anilksingh11-Apr-06 18:46 
QuestionRe: store and retrive the metafile information Pin
Ștefan-Mihai MOGA11-Apr-06 20:31
professionalȘtefan-Mihai MOGA11-Apr-06 20:31 
QuestionManifest ??? Pin
thatsme_cool11-Apr-06 18:40
thatsme_cool11-Apr-06 18:40 
QuestionESMTP Commands using Telnet/VC++ Pin
capricious_00111-Apr-06 17:38
capricious_00111-Apr-06 17:38 
Hi guys,

I'm building a simple mail program, and I want to send mail to an address but I am having a few issues with the authentication.

I'll use telnet in my discussion because its easier but I'm doing this in VC++.

Basically the smtp server I am using is:

smtp.gmail.com port 587 (Yes i know its not 25, but google requires this for TLS). Here is what i input into telnet:

220 mx.gmail.com ESMTP e14sm234337qba
ehlo server
250-mx.gmail.com at your service
250-SIZE 20971520
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
starttls
220 2.0.0 Ready to start TLS
auth login

Connection to host lost.


You can see after I put in AUTH LOGIN, I get disconnected.

My question is, after i enter the command STARTTLS, how do i enter my login information and the corresponding mail commands (MAIL FROM:, RCPT TO: etc.)?

If I have to some how incorporate SSL into sending commands how would I do that using C++?

I looke allllll over google and other places but couldnt find an answer. Any help would be appreciated. Thanks guys!

Robbie
AnswerRe: ESMTP Commands using Telnet/VC++ Pin
QuickDeveloper11-Apr-06 19:01
QuickDeveloper11-Apr-06 19:01 
GeneralRe: ESMTP Commands using Telnet/VC++ Pin
capricious_00111-Apr-06 19:15
capricious_00111-Apr-06 19:15 
Questionunhandled exception in Data.exe, OXC00000FD, Stack Overflow Pin
mrby12311-Apr-06 16:05
mrby12311-Apr-06 16:05 
AnswerRe: unhandled exception in Data.exe, OXC00000FD, Stack Overflow Pin
Stephen Hewitt11-Apr-06 18:11
Stephen Hewitt11-Apr-06 18:11 
GeneralRe: unhandled exception in Data.exe, OXC00000FD, Stack Overflow Pin
mrby12312-Apr-06 5:22
mrby12312-Apr-06 5:22 
GeneralRe: unhandled exception in Data.exe, OXC00000FD, Stack Overflow Pin
Stephen Hewitt12-Apr-06 13:43
Stephen Hewitt12-Apr-06 13:43 
GeneralRe: unhandled exception in Data.exe, OXC00000FD, Stack Overflow Pin
mrby12313-Apr-06 6:40
mrby12313-Apr-06 6:40 
Questionhow come my bmp is not displayed? thank you Pin
ewighell11-Apr-06 15:44
ewighell11-Apr-06 15:44 
AnswerRe: how come my bmp is not displayed? thank you Pin
Christian Graus11-Apr-06 17:06
protectorChristian Graus11-Apr-06 17:06 
AnswerRe: how come my bmp is not displayed? thank you Pin
Laxman Auti11-Apr-06 18:13
Laxman Auti11-Apr-06 18:13 
AnswerRe: how come my bmp is not displayed? thank you Pin
Hamid_RT11-Apr-06 18:38
Hamid_RT11-Apr-06 18:38 
AnswerRe: how come my bmp is not displayed? thank you Pin
PJ Arends11-Apr-06 20:53
professionalPJ Arends11-Apr-06 20:53 
JokeRe: how come my bmp is not displayed? thank you Pin
ewighell13-Apr-06 16:17
ewighell13-Apr-06 16:17 
Question"error LNK2001" on Release Build Pin
murali197311-Apr-06 13:46
murali197311-Apr-06 13:46 
AnswerRe: "error LNK2001" on Release Build Pin
dabs11-Apr-06 14:10
dabs11-Apr-06 14:10 
GeneralRe: "error LNK2001" on Release Build Pin
murali197312-Apr-06 5:51
murali197312-Apr-06 5:51 
AnswerRe: "error LNK2001" on Release Build Pin
Laxman Auti11-Apr-06 18:20
Laxman Auti11-Apr-06 18: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.