In my Laravel application I have the following configuration (mailtrap for testing):
MAIL_DRIVER=smtp MAIL_PORT=2525 MAIL_HOST=smtp.mailtrap.io MAIL_USERNAME=1f129791a7e29f MAIL_FROM_NAME="My name" MAIL_FROM_ADDRESSemail@example.com MAIL_PASSWORD=passwordmailtrap
But when I try to send the email I'm getting the following error:
What could be my problem here? Or should I follow this tutorial and install/configure postfix on my server? When I try this on my local environment (Homestead) this works without problems.