Hello! I have been looking all over the place but I couldn't find an answer to a problem I have been having. I am trying to send an email from the WiShield 2.0. I connected to yahoo through telnet and sent an email just by typing the following:
telnet smtp.mail.yahoo.com 587
HELO
AUTH LOGIN
my user name in base64
my password in base64
MAIL FROM: <my_email_account@yahoo.com>
RCPT TO: <who_I_am_sending_an_email_to@somewhere.com>
DATA
TO: <who_I_am_sending_an_email_to@somewhere.com>
FROM: <my_email_account@yahoo.com>
Subject:Testing
This is a test
.
However when I do the same through the wishield I do not receive an email.
PSOCK_SEND_STR(&s.p, "EHLO");
PSOCK_SEND_STR(&s.p, "AUTH LOGIN");
PSOCK_SEND_STR(&s.p, "username in base64");
PSOCK_SEND_STR(&s.p, "password in base64");
PSOCK_SEND_STR(&s.p, "MAIL FROM: <my_email_account@yahoo.com>");
PSOCK_SEND_STR(&s.p, "RCPT TO: <who_I_am_sending_an_email_to@somewhere.com>");
PSOCK_SEND_STR(&s.p, "DATA");
PSOCK_SEND_STR(&s.p, "TO: <who_I_am_sending_an_email_to@somewhere.com>");
PSOCK_SEND_STR(&s.p, "FROM: <my_email_account@yahoo.com>");
PSOCK_SEND_STR(&s.p, "subject: Test");
PSOCK_SEND_STR(&s.p, " ");
PSOCK_SEND_STR(&s.p, "Wazzup? ");
PSOCK_SEND_STR(&s.p, " ");
PSOCK_SEND_STR(&s.p, "Sincerely ");
PSOCK_SEND_STR(&s.p, "Your Arduino ");
PSOCK_SEND_STR(&s.p, ".");
Oh and by the way I have been able to connect to a server I created on my computer so I have all that kind of stuff correct.
Any help would be much appreciated.
Thanks,
Mitchell