phplist-docker icon indicating copy to clipboard operation
phplist-docker copied to clipboard

Error sending email to [email protected] SMTP connect() failed.

Open vorpentine opened this issue 2 years ago • 2 comments

Connect fails from php.

Connected directly from the container and it can talk to mailhog but php does not.

root@6c74662b8030:/var/www/phpList3# ./busybox telnet mailhog 25 Connected to mailhog 220 mailhog.example ESMTP MailHog HELO 250 Hello MAIL FROM [email protected] 550 Invalid syntax in MAIL command MAIL 550 Invalid syntax in MAIL command MAIL FROM: [email protected] 250 Sender [email protected] ok RCPT TO: [email protected] 250 Recipient [email protected] ok DATA 354 End data with <CR><LF>.<CR><LF> HELLO! . 250 Ok: queued as [email protected]

vorpentine avatar Apr 04 '23 12:04 vorpentine

Check your setting for PHPMAILERHOST and PHPMAILERPORT

michield avatar Apr 04 '23 19:04 michield