πŸ“©Mail Server

Do I need it?

Yes, FoodMonkey requires SMTP (a method for sending mail) as the system relies on it for sending emails.

  • Send password reset email

  • Order related notifications

  • Restaurant owner registration

  • Driver registration

SMTP from shared hosting

This is likely the simplest method to acquire SMTP data. Generate an email within your hosting service and make note of the credentials. You'll require them during the installation process.

Next, select "Connect Device." All the necessary information can be found there.

Here are a few examples of how it might appear.

MAIL_MAILER=sendmail
MAIL_ENCRYPTION=ssl
MAIL_PORT=465
MAIL_HOST=example.host.com
MAIL_USERNAME=mail@example.com
MAIL_PASSWORD=*****
MAIL_FROM_ADDRESS=mail@example.com
MAIL_FROM_NAME="${APP_NAME}"

3rd Party SMTP providers like SendGrid

SendGrid stands out as the premier SMTP provider, offering easy setup and dependable service.

Sign up for an account here.

This article is crucial for correctly configuring your SendGrid SMTP.

Required: You need to Authenticate your domain to send emails from. Here is how.

Test your SMTP

MAIL_MAILER=smtp
MAIL_HOST=smtp.sendgrid.net
MAIL_PORT=587
MAIL_USERNAME=apikey
MAIL_PASSWORD=xxxxxxxxxxxxxxxxx
MAIL_ENCRYPTION=null

MAIL_FROM_ADDRESS='youremail@yourdomain.com'
MAIL_FROM_NAME='Your Project name'

Last updated

Was this helpful?