Which is the correct Cloudflare configuration for Mail Server ?

USY

Active member
Hi there,

can anyone help me to setup Cloudflare so that the mails are correctly sending via the SMTP mail server where also XF is installed.

I get folloing error with standart Cloudflare setup.
++ Starting XF\Mail\SmtpTransport !! Connection could not be established with host worldofiptv.com :stream_socket_client(): unable to connect to ssl://mydomain.com:465 (Connection timed out) (code: 0)

I got also issue IMAP
  • Laminas\Mail\Protocol\Exception\RuntimeException: Unsubscribe connection error: cannot connect to host ; error = fsockopen(): unable to connect to ssl://mydomain.com:993 (Connection timed out) (errno = 0 ) [*]src/vendor/laminas/laminas-mail/src/Protocol/Imap.php:94
 
Do you have a mail server setup at all? If its safe to assume that the mail server is on the same host as the web server, just use localhost.
 
Back
Top Bottom