I get error on sending email with laravel

461 Views Asked by At

I have a laravel app. I sent an email with the following configuration,

MAIL_MAILER=sendmail 
MAIL_HOST=smtp.googlemail.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=*********
MAIL_ENCRYPTION=tls

It works locally but when I upload my app on cpanel it doesn't work with this error,

Call to undefined function Symfony\Component\Mailer\Transport\Smtp\Stream\proc_open()

Why? Please help me. Thanks.

0

There are 0 best solutions below