oh I know, I just send the piece of code as I test it out, of course, someone needs to refine, to add test for every line of code! to test return code from function.
David Schwartz <[EMAIL PROTECTED]> wrote:
read = SSL_read(ssl, reply, sizeof(reply));strcpy (reply, "encoded_base64_password\n");SSL_
read = SSL_read(ssl, reply, sizeof(reply));
strcpy (reply, "encoded_base64_password\n");
SSL_write (ssl, reply, strlen (reply));
read = SSL_read(ssl, reply, sizeof(reply));
strcpy (reply, "MAIL FROM: <[EMAIL PROTECTED]>\n");
SSL_write (ssl, reply, strlen (reply));
All of the SSL_rea
of course there is no check done in this code, just add the check for server answer, and it works!
Socket = HttpConnect ("smtp.gmail.com", 465); read = SSL_set_fd(ssl, Socket); read = SSL_connect(ssl); read = SSL_get_error(ssl, read); read = SSL_read(ssl, reply, sizeof(reply)); strcpy (reply, "E