This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200 SDK 1.1.0 problem with email

Hello,

 I am working on the email example.

 The software does not connect to server and in effect,

 SlNetAppEmailOpt_t eMailServerSetting;

 lRetVal = Network_IF_GetHostIP(GMAIL_HOST_NAME, &eMailServerSetting.Ip);

 the Ip returned is 142.250.145.109 while if I ping smtp.gmail.com from my PC

 i got 74.125.193.109.

 "142.250.145.109" is in effect a google address but not the smtp.

But could be also something wrong int he following code, which i did not change.

eMailServerSetting.Family = AF_INET;
eMailServerSetting.Port = GMAIL_HOST_PORT;
eMailServerSetting.SecurityMethod = SL_SO_SEC_METHOD_SSLV3;
eMailServerSetting.SecurityCypher = SL_SEC_MASK_SSL_RSA_WITH_RC4_128_MD5;
lRetVal = sl_NetAppEmailSet(SL_NET_APP_EMAIL_ID, \
NETAPP_ADVANCED_OPT, \
sizeof(SlNetAppEmailOpt_t), \
(unsigned char*)&eMailServerSetting);

Anyway the call to g_cConnectStatus = sl_NetAppEmailConnect(); returns -1.

 Could you tell me where I am wrong?

 I see that there are some minor problems, for example

 sl_NetCfgGet(SL_IPV4_STA_P2P_CL_GET_INFO,&isDhcp,&len,
                                   (unsigned char *)&ipV4); works, but returns not zero.

 I found somewhere in this site to comment ASSERT_ON_ERROR(lRetVal);

 Best Regards