Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vorpentine opened this issue Apr 4, 2023 · 1 comment
Open

Comments

@vorpentine
Copy link

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 .
HELLO!
.
250 Ok: queued as [email protected]

@michield
Copy link
Member

michield commented Apr 4, 2023

Check your setting for PHPMAILERHOST and PHPMAILERPORT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants