Highlighted

Emailing form

New Here ,
Feb 14, 2019

Copy link to clipboard

Copied

Whenever someone submits the form, it opens in a mail client. Is there anyway to do this automatically so that they don't have to send it themselves?

<div class="formcontent"><form action="mailto:enquiry@wigstonshoes.co.uk" method="post" enctype="text/plain" id="contactform" title="Contact Form">

      <h2>Contact Form</h2>

      <label>Name: </label><input name="name" type="text" required id="Name" form="contactform" placeholder="Please enter name here" tabindex="1" title="Name:" size="39" maxlength="25">

      <p>

      <label>Email: </label><input name="emailaddress" type="email" required id="emailaddress" form="contactform" placeholder="example@example.co.uk" tabindex="2" size="40" maxlength="50">

</p>

       <p>

      <label>Phone: </label><input name="phone" type="text" required id="phone" form="contactform" placeholder="e.g. 07809425885" tabindex="3" size="39" maxlength="11">

</p>

        <p>

<label>Query (please include as much information as possible): </label>

        <textarea name="query" cols="48" rows="5" maxlength="250" required id="query" form="contactform" placeholder="Please enter your query here" tabindex="4"></textarea>

        </p>

        <div class="g-recaptcha" data-sitekey="6LdPh5EUAAAAAPNDlamQ2XvWlZP9xv5EB7Kk3312"></div>

        <input name="submit" type="submit" id="submit" form="contactform" tabindex="5">

        <input name="reset" type="reset" id="reset" form="contactform" tabindex="6">

      

      </form></div>

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

If your server supports PHP code, get PHP Mailer on GitHub

GitHub - PHPMailer/PHPMailer: The classic email sending library for PHP

TOPICS
Learn Dreamweaver

Views

219

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Emailing form

New Here ,
Feb 14, 2019

Copy link to clipboard

Copied

Whenever someone submits the form, it opens in a mail client. Is there anyway to do this automatically so that they don't have to send it themselves?

<div class="formcontent"><form action="mailto:enquiry@wigstonshoes.co.uk" method="post" enctype="text/plain" id="contactform" title="Contact Form">

      <h2>Contact Form</h2>

      <label>Name: </label><input name="name" type="text" required id="Name" form="contactform" placeholder="Please enter name here" tabindex="1" title="Name:" size="39" maxlength="25">

      <p>

      <label>Email: </label><input name="emailaddress" type="email" required id="emailaddress" form="contactform" placeholder="example@example.co.uk" tabindex="2" size="40" maxlength="50">

</p>

       <p>

      <label>Phone: </label><input name="phone" type="text" required id="phone" form="contactform" placeholder="e.g. 07809425885" tabindex="3" size="39" maxlength="11">

</p>

        <p>

<label>Query (please include as much information as possible): </label>

        <textarea name="query" cols="48" rows="5" maxlength="250" required id="query" form="contactform" placeholder="Please enter your query here" tabindex="4"></textarea>

        </p>

        <div class="g-recaptcha" data-sitekey="6LdPh5EUAAAAAPNDlamQ2XvWlZP9xv5EB7Kk3312"></div>

        <input name="submit" type="submit" id="submit" form="contactform" tabindex="5">

        <input name="reset" type="reset" id="reset" form="contactform" tabindex="6">

      

      </form></div>

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

If your server supports PHP code, get PHP Mailer on GitHub

GitHub - PHPMailer/PHPMailer: The classic email sending library for PHP

TOPICS
Learn Dreamweaver

Views

220

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 14, 2019 0
Adobe Community Professional ,
Feb 14, 2019

Copy link to clipboard

Copied

You have to stop using the mailto: email action (what you describe is how that action works) and instead, get a form to email script to connect to your page.

Your hosting company may have a free one you can use, but if they don't there are many options available depending on what technologies your server has installed.

A search for something like "php form to email script" will give you a lot of do it yourself options as well.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 14, 2019 1
Adobe Community Professional ,
Feb 14, 2019

Copy link to clipboard

Copied

If your server supports PHP code, get PHP Mailer on GitHub

GitHub - PHPMailer/PHPMailer: The classic email sending library for PHP

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 14, 2019 0