> For the complete documentation index, see [llms.txt](https://phplime-envato.gitbook.io/qrexorder/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://phplime-envato.gitbook.io/qrexorder/configuration/email-configuration.md).

# Email Configuration

![](/files/-Mj3BudYKI6NPeSy0uB7)

If you use the SMTP mail function make sure All credentials are correct.

Gmail Host:  smtp.gmail.com\
Gmail Port:  465

&#x20;**If you are using Gmail SMTP please make sure you have set the below settings before sending mail**

{% hint style="danger" %}

1. Login to your Gmail
2. Go to Security setting and Enable 2 factor authentication
3. After enabling this you can see app passwords option
4. And then, from Your app passwords tab select Other option and put your app name and click GENERATE button to get new app password.
5. Finally copy the 16 digit of password and click done. Now use this password instead of email password to send mail via your app.
   {% endhint %}

{% hint style="success" %}
Third-party mailer - SendGrid
{% endhint %}

#### 3rd Party SMTP providers like SendGrid

SendGrid is the leading SMTP provider. Easy to set up and reliable service.

Get an account [here](https://sendgrid.com/).

[This article](https://sendgrid.com/docs/API_Reference/SMTP_API/integrating_with_the_smtp_api.html) is important in order to setup your SendGrid SMTP correct.

**Required**: You need to Authenticate your domain to send emails from. [Here](https://sendgrid.com/docs/ui/account-and-settings/how-to-set-up-domain-authentication/) is how.
