用 SMTP 方式发信如何认证?

1 用 SMTP 方式发信如何认证?
SMTP

连接到 smtps://smtp.mx.cloudflare.net:465,--user 设为 “api_token:<API_TOKEN>”,用 --upload-file 上传邮件原文(mail.txt)。

参考:Cloudflare Email Sending SMTP 样例