email under version 6.x

Hi,

I'm trying to send an email with a RB2011 (get same issue with RB951G or RB750GL) and this do not work.

Here is the code :

/tool e-mail

SMTP server

:set server=x.x.x.x
:set address=x.x.x.x
:set port=465
:set from=admin@pointca.com
:set user=admin@pointca.com
:set password=xxxxx
:set start-tls=yes

:send to=admin@pointca.com cc=ymartin@mail.com subject=Route Failover - $strDate $strTime - $strSystemName body=ISP1 Failover occurred at $strDate $strTime on $strSystemName

(...)

I have noted that in my email client, there are different options for STARTSSL like : "Strict" and "Accept Any".
If I use strict, it do not work, I have to set 'Accept Any". I can not find this option on the v6.x

Finally, I've tried the winbox option (Tools -> Email) with same result, email is never received.

Any idea?

Enable email debug logging and try it again, then check the router’s log. It give much more detailed info on the attempted transaction.

/system logging
add topics=e-mail,debug action=memory

I’ve got this :

14:47:27 e-mail,debug send RSET
14:47:47 e-mail,debug send QUIT
14:47:47 system,e-mail,error Error sending e-mail <Email test - - >: SMTP server not ready

I corrected my code… forget some " … etc. but unable to connect.

It simply do not work, even if I use the manual tool !!! (tool → Email)
parameters are correct because I can connect to my email with my phone, using same parameters…

Email server is ours, using cPanel …