Hello everybody.
I state that I am using Laravel and that from the local it all works correctly.
when I try to send an email with a php script it gives me the following error:
Connection could not be established with host smtp.autoscuolegentile.it: stream_socket_client (): unable to connect to smtp.xxxxxxx.it:25 (Connection timed out).
the configuration of the .env file:
MAIL_MAILER = smtp
MAIL_HOST = smtp.xxxxxxx.it
MAIL_PORT = 25
MAIL_USERNAME=xxxxx@xxxxxx.it
MAIL_PASSWORD = xxxxxx;
MAIL_ENCRYPTION = null
MAIL_FROM_ADDRESS=xxxxx@xxxxxx.it
MAIL_FROM_NAME = "$ {APP_NAME}"
thank you
Error sending mail from web hosting
Related questions
- email (catch all)
33948
16.03.2023 11:28
- Mail quota exceeded - 200 limit
33851
03.04.2023 11:19
- I cannot make email address
29598
24.06.2020 07:35
- Unable to receive mail from certain addresses
28127
13.05.2022 08:24
- Error when i try to send mail from my gmail account to my webmail server
28007
03.01.2018 01:00
- Cannot access webmail
27678
01.03.2020 09:09
- My e-mails end up in spam
27470
11.07.2020 18:53
- Cost of the mx plans
27327
11.04.2022 08:40
- Redirect SPAM -> to spam folder
25728
13.04.2018 12:54
- Is it possible to enable DKIM verification for my domain on the MX PLAN email service?
24249
25.03.2022 21:36