# Send email to admin email after the quote is submitted

There are 2 email templates, you can select one of them:&#x20;

* **Basic template:** configure the email template with available options
* **Advance template:** manually edit the email content&#x20;

If you select basic template > click **Save**, the basic template will be applied to emails.&#x20;

&#x20;

### Basic email template

1\.  In the app admin page, click Quote settings > Quote form builders and emails

<figure><img src="/files/peSGy50eG9B1u8HcOUL9" alt=""><figcaption></figcaption></figure>

2\. Click on the **Email icon** > Select **Mail notifications** section > Choose **Basic** template

<figure><img src="/files/nY7GoWPvN4zvaNpMKqpV" alt=""><figcaption></figcaption></figure>

&#x20;3\. On the right side of the page, there are sections to configure the email content. Click on each of it to set up

<figure><img src="/files/1kehP4QXclecuCMqEodM" alt=""><figcaption></figcaption></figure>

Details of each section:&#x20;

&#x20;**1. General**&#x20;

In this session, you can set up the following parts:

* **Admin Email**: Admin can add or change email addresses that receive quote notifications in this field.

Emails are sent by our email server by default. If you want to use your email address as the sender instead, please set up SMTP. [Learn more](https://globosoftware.net/kb/set-up-smtp-email/)

* **Subject**: Admin enters the subject of this notification email.
* **Attach PDF file**: Tick this checkbox if you want to attach the quote as a PDF file in your email.&#x20;

<figure><img src="/files/0jm8GRMISzGCzjCRoEX8" alt=""><figcaption></figcaption></figure>

**2. Header email content**

* Enter the **Store name** and **Store link** fields
* Click **Upload photo** to add the logo of the store
* Edit the **Description** part: You can use the available email placeholders in your email

<figure><img src="/files/oaR11ehAOZaIV34X6nyY" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/2C0dlXBCpCEu6NU7AqxQ" alt=""><figcaption></figcaption></figure>

**3. Product information**

Tick to the checkbox of the available information you want to show in your email. They are:

* Product Image
* Product Vendor
* Product SKU
* Product Option
* Product Quantity
* Product Price
* Product Total price

<figure><img src="/files/kY1rXeXHl5NozFjdb5Bt" alt=""><figcaption></figcaption></figure>

**4. Additional information**

Tick to checkbox to select the formbuilder fields you want to show in your email:

<figure><img src="/files/eoQdvGz6imTJTFKGg9kt" alt=""><figcaption></figcaption></figure>

**5. Footer email content**

Edit the footer content as you want by using available email placeholders:

<figure><img src="/files/ciUpU6m5mCLwxkp46jji" alt=""><figcaption></figcaption></figure>

**6. Color and font**

* Drag and drop to adjust the **Font size**
* Click to choose the **Text color** and the **Heading color** you want

&#x20;

&#x20;

### Advanced email template

&#x20;1\. From the **Email** setting page > Choose **Advance** template

<figure><img src="/files/emhIbMWsXEpAhlGzZ3GK" alt=""><figcaption></figcaption></figure>

&#x20;3\. Manually edit email template content on the right of the page (Admin email, Subject, attach PDF file..)

&#x20;4\. Click **Show variants** > copy variables and add them to the email template

For example:

I want to show the customer name who has submitted the quote. In the image below, you can see variable {!! $name !!} : First name in the Email placeholders list.&#x20;

In Subject field and Body field, I use  {!! $name !!} variable, this variable will be replaced with the name of the customer who has submitted your quote.

<figure><img src="/files/IM316ZP89m4NfyxGyqZI" alt=""><figcaption></figcaption></figure>

&#x20;**5. Custom CSS codes:** Put custom CSS codes for the email content  (optional)

&#x20;**6. Save** template


---

# Agent Instructions: 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:

```
GET https://docs.samita.io/sa-request-a-quote/mail-settings/send-email-to-admin-email-after-the-quote-is-submitted.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
