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
- I cannot make email address
3764
24.06.2020 07:35
- Error when i try to send mail from my gmail account to my webmail server
3625
03.01.2018 01:00
- Mail quota exceeded - 200 limit
3547
03.04.2023 11:19
- Unable to receive mail from certain addresses
3318
13.05.2022 08:24
- email (catch all)
2902
16.03.2023 11:28
- Cannot access webmail
2598
01.03.2020 09:09
- My e-mails end up in spam
2324
11.07.2020 18:53
- Redirect SPAM -> to spam folder
2201
13.04.2018 12:54
- Cost of the mx plans
2129
11.04.2022 08:40
- Is it possible to enable DKIM verification for my domain on the MX PLAN email service?
2123
25.03.2022 21:36