Unable to send an email via my SMTP server via SSL/TLS. But my local email client works well

You have one line as ssl: true, and one as ssl: [ ...