{"id":5541,"date":"2019-05-30T06:07:02","date_gmt":"2019-05-30T06:07:02","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=5541"},"modified":"2024-04-24T07:11:49","modified_gmt":"2024-04-24T06:11:49","slug":"configure-contact-form-with-smtp-php-mail","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/","title":{"rendered":"How to Configure Contact Form with SMTP\/PHP Mail?"},"content":{"rendered":"<p>In this tutorial you will learn to configure your <strong>Contact Form Setting<\/strong> for allowing <strong>SMTP\/PHP Mail<\/strong> to send email from Contact Form.<\/p>\n<h2>Configure Contact Form with SMTP\/PHP Mail (New Dashboard)<\/h2>\n<h3>Steps to Configure Contact Form with PHP Mail<\/h3>\n<p>1. Login to cPanel.<br \/>\n2. Scroll down to <strong>Software<\/strong> and click on <strong>SitePad Website Builder<\/strong>.<br \/>\n3. Click on the <strong>Admin Panel<\/strong> icon of the site on which you want to configure the contact form.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-11067\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/05\/admin-panel-min-1024x479.jpg\" alt=\"\" width=\"1024\" height=\"479\" \/><br \/>\n4. From the left-side menu of the admin panel, go to <strong>Settings<\/strong>\u00a0and click on<strong> Contact Form<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-11068\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/05\/settings-contact-form-min-1024x421.jpg\" alt=\"\" width=\"1024\" height=\"421\" \/><br \/>\n5. The <strong>Contact Form Settings<\/strong> will get displayed. In this,<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-11069\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/05\/contact-form-min-992x1024.jpg\" alt=\"\" width=\"992\" height=\"1024\" \/><\/p>\n<ul>\n<li><strong>TO Email:<\/strong> It is the email on which you will receive your contact form email.<\/li>\n<li><strong>FROM Email:<\/strong> It is the email through which your contact form email will be sent.<\/li>\n<li><strong>SUBJECT:<\/strong> It is the subject of the contact form.<\/li>\n<li><strong>Additional Headers:<\/strong> Here you can add additional email.<\/li>\n<li><strong>Messages:<\/strong> Here you can edit messages used for the information of your form.<\/li>\n<\/ul>\n<p>6. After filling in the fields as per your preference, click on<strong> Save Changes<\/strong> to save the changes done.<\/p>\n<h3>Steps to Configure Contact Form with SMTP Mail<\/h3>\n<p>1. Click on <strong>Advanced<\/strong> <strong>-&gt; SMTP Mail<\/strong> from the left-side menu of the admin panel.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-11070\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/05\/smtp-mail-min-1024x414.jpg\" alt=\"\" width=\"1024\" height=\"414\" \/><br \/>\n2.The<strong> SMTP Mail Settings<\/strong> will get displayed:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-11075\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/05\/smtp-mail-settings-new-min-1024x589.jpg\" alt=\"\" width=\"1024\" height=\"589\" \/><\/p>\n<p>3.Tick on the<strong> Enable SMTP<\/strong> checkbox to configure contact form with SMTP mail.<br \/>\n4. In the <strong>SMTP Host<\/strong>, enter your mail server.<br \/>\n5. Select the <strong>Type of Encryption<\/strong> from <strong>None<\/strong>, <strong>SSL<\/strong> and <strong>TLS<\/strong>.<br \/>\n6. Enter the<strong> SMTP Port<\/strong> number.<br \/>\n7. Click on <strong>Yes<\/strong> for <strong>SMTP Authentication<\/strong>.<br \/>\n8. Enter the <strong>SMTP Username<\/strong> and <strong>Password<\/strong> to login to your mail server.<br \/>\n9. Keep the <strong>\u2018Disable SSL Certificate Verification\u2019<\/strong> option unchecked as it is important to verify SSL certificate for security reasons.<br \/>\n10. Finally, click on <strong>Save Changes<\/strong>.<\/p>\n<h2>Configure Contact Form with SMTP\/PHP Mail (Old Dashboard)<\/h2>\n<h3>Steps to Configure Contact Form with PHP Mail<\/h3>\n<p>Your localhost is used by PHP Mail function to send email from contact form while SMTP Mail function used a server to send email from your contact form. The contact form settings can be configured from <strong>SitePad Dashboard &gt; Settings &gt; Contact Form<\/strong>.<\/p>\n<h3>PHP Mail<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-11072\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/05\/contact-form-php-old-min-1024x1003.jpg\" alt=\"\" width=\"1024\" height=\"1003\" \/><\/p>\n<p>1. You will find that <strong>PHP Mail<\/strong> is selected by default.<\/p>\n<p>2. The same email-id needs to be added in <strong>To<\/strong> and <strong>From<\/strong> fields. So, enter multiple email address separated with comma, if you want to send emails to multiple recipients.<\/p>\n<p>3. In <strong>Subject<\/strong> field enter the subject you want. You can add enter the for-mat here, if you need <strong>Dynamic Subject<\/strong>.<\/p>\n<p>4. You are allowed to change the <strong>Success\/Fail Message<\/strong>.<\/p>\n<p>5. In order to avoid spam from your contact form you can add <strong>reCAPTCHA<\/strong>.<\/p>\n<p>6. Next, click on<strong> Save<\/strong> button after filling the <strong>Settings<\/strong>.<\/p>\n<div style=\"background-color: #e0ffff; padding: 10px;\"><strong>Note:<\/strong> In case your host restricts you from sending mail using local server then you will need to<strong> Configure SMTP Mail<\/strong>.<\/div>\n<h3>Steps to Configure Contact Form with SMTP Mail<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11076 size-full\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/05\/smtp-mail-old-min-1.jpg\" alt=\"\" width=\"1389\" height=\"1593\" \/><\/p>\n<p>1. For configuring SMTP mail you will need a <strong>Gmail\/Yahoo\/Hotmail<\/strong> account. Alternately, you can use your <strong>Webmail account<\/strong> with all the SMTP settings given by your host in your control panel.<\/p>\n<p>2. In <strong>Mailing Method<\/strong>, from the drop-down list select the SMTP Mail.<\/p>\n<p>3. Fill the below fields:<\/p>\n<p><strong>SMTP Server<\/strong> (if you are using secure server port then please add ssl:\/\/ before the server domain i.e ssl:\/\/domain.com).<br \/>\n<strong>SMTP Port<\/strong><br \/>\n<strong>SMTP Username<\/strong> (i.e Email Id)<br \/>\n<strong>SMTP Password<\/strong> (i.e Email Id Password)<\/p>\n<p>4. Configure the settings for SMTP similar to that for PHP Mail i.e change Subject, change Success\/Fail Message, Add reCAPTCHA to avoid spam.<\/p>\n<p>5. Then click on <strong>Save<\/strong> button after filling the settings.<\/p>\n<p>That\u2019s it! You have now learned to configure the contact form with SMTP.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial you will learn to configure your Contact Form Setting for allowing SMTP\/PHP Mail to send email from Contact Form. Configure Contact Form with SMTP\/PHP Mail (New Dashboard) Steps to Configure Contact Form with PHP Mail 1. Login to cPanel. 2. Scroll down to Software and click on SitePad Website Builder. 3. Click [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[696,697,698],"class_list":["post-5541","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-email-issues","tag-configure-contact-form","tag-send-emails-through-contact-form","tag-smtp-or-php-mail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Master the Steps Configure Contact Form with SMTP\/PHP Mail<\/title>\n<meta name=\"description\" content=\"The article reveals the steps for configuring the contact form with SMTP\/PHP mail function to send email from contact form.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Master the Steps Configure Contact Form with SMTP\/PHP Mail\" \/>\n<meta property=\"og:description\" content=\"The article reveals the steps for configuring the contact form with SMTP\/PHP mail function to send email from contact form.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-30T06:07:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-24T06:11:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/05\/admin-panel-min-1024x479.jpg\" \/>\n<meta name=\"author\" content=\"Pallavi Godse\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pallavi Godse\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/\",\"name\":\"Master the Steps Configure Contact Form with SMTP\/PHP Mail\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/05\/admin-panel-min-1024x479.jpg\",\"datePublished\":\"2019-05-30T06:07:02+00:00\",\"dateModified\":\"2024-04-24T06:11:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\"},\"description\":\"The article reveals the steps for configuring the contact form with SMTP\/PHP mail function to send email from contact form.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/07\/deactivate_plugin.png\",\"contentUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/07\/deactivate_plugin.png\",\"width\":1676,\"height\":598},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Configure Contact Form with SMTP\/PHP Mail?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\",\"name\":\"Pallavi Godse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g\",\"caption\":\"Pallavi Godse\"},\"description\":\"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pallavi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Master the Steps Configure Contact Form with SMTP\/PHP Mail","description":"The article reveals the steps for configuring the contact form with SMTP\/PHP mail function to send email from contact form.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/","og_locale":"en_GB","og_type":"article","og_title":"Master the Steps Configure Contact Form with SMTP\/PHP Mail","og_description":"The article reveals the steps for configuring the contact form with SMTP\/PHP mail function to send email from contact form.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2019-05-30T06:07:02+00:00","article_modified_time":"2024-04-24T06:11:49+00:00","og_image":[{"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/05\/admin-panel-min-1024x479.jpg","type":"","width":"","height":""}],"author":"Pallavi Godse","twitter_misc":{"Written by":"Pallavi Godse","Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/","name":"Master the Steps Configure Contact Form with SMTP\/PHP Mail","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/05\/admin-panel-min-1024x479.jpg","datePublished":"2019-05-30T06:07:02+00:00","dateModified":"2024-04-24T06:11:49+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945"},"description":"The article reveals the steps for configuring the contact form with SMTP\/PHP mail function to send email from contact form.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/#primaryimage","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/07\/deactivate_plugin.png","contentUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/07\/deactivate_plugin.png","width":1676,"height":598},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/configure-contact-form-with-smtp-php-mail\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Configure Contact Form with SMTP\/PHP Mail?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945","name":"Pallavi Godse","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g","caption":"Pallavi Godse"},"description":"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pallavi\/"}]}},"views":2320,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/5541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=5541"}],"version-history":[{"count":8,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/5541\/revisions"}],"predecessor-version":[{"id":15567,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/5541\/revisions\/15567"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=5541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=5541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=5541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}