Bad Gateway 502 when using smtp gmail

I can’t send email using smtp auth google mail. when accessed it only issues a response Bad gateway Error code 502.

Here are my server details
VPS server: linode

The Cloudflare DNS domain uses the domain
i use golang language to send email with gomail plugin (gopkg: gomail)

Welcome to the Cloudflare Community.

Cloudflare has no involvement in the sending of email. You will want to explore this topic either with your email provider or possibly a developer forum.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.