# How to Configure SMTP/PHP Mail

**How to Configure Contact Form with SMTP/PHP Mail**

This tutorial will show you How to Configure your **Contact Form Setting** to allow **SMTP/PHP Mail** to send Email from **Contact Form**.

#### SELECT CONTACT FORM SETTING

**PHP Mail** function uses your **localhost** to send Email from Contact Form while **SMTP Mail** function uses a **Server** to send Email from your Contact Form. You can configure the Contact Form Settings at **SitePad Dashboard &gt; Settings &gt; Contact Form**.  
   
![](https://dotroll.com/wp-content/uploads/2020/08/Select_contact_form.png)

#### PHP MAIL

<div class="vc_row wpb_row vc_row-fluid" id="bkmrk-php-mail-is-selected"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"><div class="wpb_text_column wpb_content_element "><div class="wpb_wrapper">- PHP Mail is selected as a default option.
- You will need to add the same Email-Id in **To** and **From**, enter multiple email address with comma-separated if you want to send multiple recipients.
- You can add enter the format in **Subject** if you need Dynamic Subject.
- You can change **Success/Fail Message**.
- You can add **reCAPTCHA** if you want to avoid spam from your Contact Form.

</div></div></div></div></div></div>   
![](https://dotroll.com/wp-content/uploads/2020/08/Configure_contact_form.png)  
   
Click on **Save Button** once you fill the Setting.

<div class="vc_row wpb_row vc_row-fluid" id="bkmrk-note%3A%C2%A0if-your-host-d"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"><div class="wpb_text_column wpb_content_element "><div class="wpb_wrapper"><div class="ricsi exclamation alert-info">  
</div></div></div><div class="vc_message_box vc_message_box-standard vc_message_box-rounded vc_color-info vc_custom_1598439348753"><div class="vc_message_box-icon">  
</div><div class="ricsi exclamation alert-info"><span class=".">**Note:** If your host does not allow sending mail using local server then you will need to **Configure SMTP Mail**.</span></div></div></div></div></div></div>#### SMTP MAIL

**To Configure SMTP Mail** you will need a **Gmail/Yahoo/Hotmail** account or you can use your **Webmail account** with all the SMTP settings provided by your Host in your control panel.

You will need to select the **SMTP Mail** from the drop-down list in **Mailing Method**.

- Add **SMTP Server** (in-case you are using secure server port then please add ssl:// before the server domain i.e ssl://domain.com).
- Add **SMTP Port**
- Add **SMTP Username** (i.e Email Id)
- Add **SMTP Password** (i.e Email Id Password)
- You can also configure settings same as mentioned above in PHP Mail i.e change Subject, change Success/Fail Message, Add reCAPTCHA to avoid spam.

   
![](https://dotroll.com/wp-content/uploads/2020/08/Configure_SMTP-908x1024-1.png)

Click on **Save Button** once you fill the Setting.