snip.email in WICED Studio 6.2 --- always geting Sending email....FAILED!

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MiRo_263836
Level 5
Level 5
100 replies posted 50 likes received 50 replies posted

I have been trying to get the snip.email to work with the Quicksilver board.  No matter what RECIPIENT I try, I get Sending email….FAILED!  I changed the sending email account to my personal account (that why the SMTP server for mail.hover.com) which was what was recommend when I looked on the community to see if I could find an answer and that didn’t help.  There is not much information to go by to debug what the issue is. It is when it tries to to the wiced_smtp_send

    WPRINT_APP_INFO(( "Sending email ... " ));

    if ( wiced_smtp_send( &account, &email ) == WICED_SUCCESS )

    {

        WPRINT_APP_INFO(( "success!\n" ));

    }

    else

    {

        WPRINT_APP_INFO(( "FAILED!\n" ));

    }

Starting WICED vWiced_006.002.000.0072

Platform Quicksilver_EVL initialised

Started ThreadX v5.8

Initialising NetX_Duo v5.10_sp3

Creating Packet pools

WLAN MAC Address : B8:D7:AF:28:8E:9E

WLAN Firmware    : wl0: May 15 2018 19:39:17 version 7.15.168.114 (r689934) FWID 01-d6f88905

WLAN CLM         : API: 12.2 Data: 9.10.74 Compiler: 1.31.3 ClmImport: 1.36.3 Creation: 2018-05-15 19:33:15

Joining : MFR Arrow iPhone

Successfully joined : MFR Arrow iPhone

Obtaining IPv4 address via DHCP

DHCP CLIENT hostname WICED IP

IPv4 network ready IP: 172.20.10.3

Setting IPv6 link-local address

IPv6 network ready IP: FE80:0000:0000:0000:BAD7:AFFF:FE28:8E9E

Fetching time from the SNTP server. Kindly wait... Current time is: 2018-12-01T00:04:09.747000Z

Querying DNS server for mail.hover.com

Successfully retrieved SMTP server IP : 216.40.42.134

Sending email ... FAILED!

0 Likes
1 Solution

Hi Mike,

I also have a normal gmail account I think. I can see the less secure apps option by following this sequence: Account > Sign-in&Security >

Apps with account access and then look for Allow less secure apps, you should be able to get it. In case the issue is still persisting, the best way to go about this is by looking at the failure code or going into debug mode

You can just check the return as shown below to pinpoint the exact error. If it is error 4, that means it has something to do with the way the e-mail clients' settings

res = wiced_smtp_send( &account, &email );

        WPRINT_APP_INFO(( "FAILED with %d!\n",res ));

View solution in original post

0 Likes
11 Replies