# 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="https://2993310686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIvNtDAMNVIdy5nl9kiOU%2Fuploads%2FaqVRkpqWbpR668cIJbwL%2Fimage.png?alt=media&#x26;token=5a8cc17c-b30c-4974-841b-2a91fe01c2a8" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2993310686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIvNtDAMNVIdy5nl9kiOU%2Fuploads%2FKYc5PuNUeW1DPxWdF1gB%2Fimage.png?alt=media&#x26;token=e756f637-e147-4faa-bc0c-92a6432728d1" 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="https://2993310686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIvNtDAMNVIdy5nl9kiOU%2Fuploads%2FJwXc2K5Bq1i6oarbH1yK%2Fimage.png?alt=media&#x26;token=3095ae57-4785-4b94-bc7a-5310074358d0" 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="https://2993310686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIvNtDAMNVIdy5nl9kiOU%2Fuploads%2FLp3bh1NHPXrWBokkXLQ2%2Fimage.png?alt=media&#x26;token=69767639-f050-42e5-a409-142baa332c39" 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="https://2993310686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIvNtDAMNVIdy5nl9kiOU%2Fuploads%2F8XU6zusjUohDD3xhji3x%2Fimage.png?alt=media&#x26;token=33096dc1-fa00-4eb8-94f5-27bf20579baf" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2993310686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIvNtDAMNVIdy5nl9kiOU%2Fuploads%2FDL0kWAoiwR0aAACOZ0iQ%2Fimage.png?alt=media&#x26;token=c14bd96e-5518-4686-898a-45a2f0b0afc6" 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="https://2993310686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIvNtDAMNVIdy5nl9kiOU%2Fuploads%2FDz45oDGqIxa1Sz0K8Mle%2Fimage.png?alt=media&#x26;token=bd88a973-9179-4846-98c4-6fe2bec3bf1b" 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="https://2993310686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIvNtDAMNVIdy5nl9kiOU%2Fuploads%2FuoI3umaH7cg0yA9uKNT1%2Fimage.png?alt=media&#x26;token=c430c1a2-b139-4a38-ba50-b945db405af2" alt=""><figcaption></figcaption></figure>

**5. Footer email content**

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

<figure><img src="https://2993310686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIvNtDAMNVIdy5nl9kiOU%2Fuploads%2FkIIo7PXJn0xDwWpKg9f6%2Fimage.png?alt=media&#x26;token=f83ae5cf-dc9c-418b-b9a8-41917d0098bc" 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="https://2993310686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIvNtDAMNVIdy5nl9kiOU%2Fuploads%2FqotVGpeJ8Ur5VOB2Tdms%2Fimage.png?alt=media&#x26;token=b9a3c3cb-906e-41e1-b64c-d4b6df461e24" 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="https://2993310686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIvNtDAMNVIdy5nl9kiOU%2Fuploads%2F4DOYpUEWxb7bMoifc5m7%2Fimage.png?alt=media&#x26;token=93f7709c-1ae7-4793-a759-37da3c79b7a8" alt=""><figcaption></figcaption></figure>

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

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