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

Unix socket as host shows error #2893

Closed
mikehu404 opened this issue Apr 17, 2023 · 1 comment
Closed

Unix socket as host shows error #2893

mikehu404 opened this issue Apr 17, 2023 · 1 comment

Comments

@mikehu404
Copy link

Problem description

when setting the host option as a path to socket. Shows error.

option

                    $phpmailer->Host = '/var/shared/postfix/smtp.sock';

error

SMTP Error: Could not connect to SMTP host.

SMTP Debug:
Invalid host: /var/shared/postfix/smtp.sock

@Synchro
Copy link
Member

Synchro commented Apr 17, 2023

That's because it's not a supported option.

@Synchro Synchro closed this as completed Apr 17, 2023
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