> 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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://phplime-envato.gitbook.io/qrexorder/configuration/email-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
