cancel
Showing results for 
Search instead for 
Did you mean: 

smtp with SPWF04SA

David Campillo
Associate
Posted on September 14, 2017 at 23:18

Hello,

I'm working with an SPWF04SA.

I set up the Wi-Fi connection correctly, it responds well to ping, but I can not send an email.

I have tried several things, and I only get a certificate 5 error (the common name does not match)

at + s.smtp = (hostmane), 587,5, (user), (password), SPWF04SA, (email), (to) ,,, proba ,, 5

{text1}

or certificate error 23 (CA could not be found)

at + s.smtp = smtp.gmail.com, 587,5, (email), (password), SPWF04SA, (email), (to) ,,, proba ,, 5 {text2}

What am I doing wrong?

Can anyone show a complete plot?

1 REPLY 1
Elio Cometti
Senior II
Posted on September 15, 2017 at 19:37

One of the cases in which you get the certificate 5 error (the common name does not match) is when the hostname does not match the server certificate's common name (like when hostname is an IP address and the common name is a DNS name).

Instead, certificate error 23 (CA could not be found) is printed when the certificate of the Root CA that signed the server's certificate is not loaded in flash/filesystem.