Making the Email Example program work for CC3200 Launchpad

Connection with Email Server Failed
Connection with Email Server Failed

Just following the TI CC3200 Email Demo Application wiki and building and running the CC3200 Example Program at my CC3200 Launchpad led to a Error message at my Terra Term;

“Connection with Email Server Failed. Check Internet Connection and Retry

There are no specific instructions at any related documentation that mentions the need for code changes to make the Email Example Program work for CC3200 Launchpad. Maybe someone who has good experience with SMTP coding might get that idea, that there need to be some code changes to make the Email Example Program work for a CC3200 launchpad. But, for the regular person, who is just starting to learn about CC3200 launchpad, would try and try again, but end up scratching head and stuck at the error below

“Connection with Email Server Failed. Check Internet Connection and Retry”

I ask help at Texas Instruments E2E Community, and gladly someone who has experience with SMTP gave me some tips, and with those tips, I was able to make the Email Example Program work for my CC3200 Launchpad. I have sent email from CC3200 launchpad to my Yahoo Mail Inbox.

Here below are the instructions to make the Email Example Program work for CC3200 Launchpad. I am using CCS Version 6.0 and CC3200 SDK Version 0.5.2 and my CC3200 Launchpad is Revision 3.2.

  1. At file demo_config.h change SSID per your access point.
  2. If you are using Yahoo Mail to send the email change the USER, USER_RFC, and PASS with your Yahoo Email and Password as shown below.
  3. Change YAHOO_HOST_PORT to 465. The YAHOO_HOST_PORT default value is 25, and that did not work for me.
  4. If you are using Yahoo Mail to send email change at main.c, all usage of GMAIL_HOST_NAME variable to YAHOO_HOST_NAME and change all usage of GMAIL_HOST_PORT variable to YAHOO_HOST_PORT.
  5. At your Serial Console (e.g Putty, Tera Term), do not include “<” and “>” as shown in the commands.
demo_config.h
demo_config.h
Change GMAIL_HOST_NAME to YAHOO_HOST_NAME
Change GMAIL_HOST_NAME to YAHOO_HOST_NAME
Change GMAIL_HOST_PORT to YAHOO_HOST_PORT
Change GMAIL_HOST_PORT to YAHOO_HOST_PORT
Do not include <> in commands
Do not include “<” and “>” in commands.
Confirmed email receipt at my Yahoo Mail Inbox!
Confirmed email receipt at my Yahoo Mail Inbox!
Advertisements

2 thoughts on “Making the Email Example program work for CC3200 Launchpad”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s