Hi folks.
I have been having some issues with sending emails through V5, I can connect and send through Gmail which is fine… though when using email deliverability tools it gets flagged as spam because of a few reasons.
When connecting to my own mail server self-hosted through Plesk I am running into the same obstacle time and time again.
I have essentially copied my mail credentials into the env file
MAIL_DRIVER=smtp
MAIL_PORT=587
MAIL_ENCRYPTION=tls
MAIL_HOST=mail.URL.co.uk
MAIL_USERNAME="[email protected]"
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="Business Name"
MAIL_PASSWORD='something with special characters like ! and & and maybe a ^'
On Plesk my credentials are as follows:
### Manual setup
Mail server username
[email protected]
Incoming mail server
URL.co.uk
Outgoing mail server
URL.co.uk
(server requires authentication)
Supported incoming mail protocols
POP3, POP3 over SSL/TLS, IMAP, IMAP over SSL/TLS
Supported outgoing mail protocols
SMTP
To connect via POP3 securely over SSL/TLS, use port 995.
To connect via IMAP securely over SSL/TLS, use port 993.
To send messages via SMTP securely, use port 465.
with the following option
Enable SMTP service on port 587 on all IP addresses enabled.
The error I keep getting is
"connection could not be established with host mail.URL.co.uk :stream_socket_client(): unable to connect to tcp://mail.URL.co.uk:587 (operation timed out)
Is there something that I am missing here at all?