I'm trying to send mail from my website.
I'm using laravel 5.5 and the shared hosting of hostnet.nl.
I'm very sure i have all my configuration correct..
My .env :
MAIL_DRIVER=mail
MAIL_HOST=smtp02.hostnet.nl
MAIL_PORT=587
MAIL_USERNAME=username
MAIL_PASSWORD=password
MAIL_ENCRYPTION=TLS
But when i try to send mail this allways returns
Whoops there was an error:
proc_open() has been disabled for security reasons
I already chat with the hosting company and they said this is not a php setting that is allowed to be changed. So i cannot enable this.
When i try to set MAIL_DRIVER=smtp
it says connection refused.
I have another laravel installation/website at this shared hosting, which has the same MAIL_DRIVER=mail
and this works perfectly.
This installation is on laravel 5.2.*
Is this something that has changed inside swiftmailer from laravel 5.2 to 5.5?
I don't know how to fix this issue.
Any help is appreciated.