How to config mail.php for zimbra mail server in Laravel 5.3?
问题 I create VPS and install zimbra mail in mail.mywebsite.com and mywebsite.com is in other VPS. My mail.php in config folder: 'driver' => 'smtp', 'host' => 'mail.mywebsite.com', 'from' => [ 'address' => 'customers@mywebsite.com', 'name' => 'mywebsite.com' ], 'encryption' => env('MAIL_ENCRYPTION', 'No Encryption'), 'username' => 'info@mywebsite.com', 'password' => '*******', 'sendmail' => '/usr/sbin/sendmail -bs', In .env file: MAIL_DRIVER=smtp MAIL_HOST=mailtrap.io MAIL_PORT=2525 MAIL_USERNAME