Skip to content

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

@vorpentine

Description

@vorpentine

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions