Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8602919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:12:14+00:00 2026-06-12T02:12:14+00:00

My Question: How do I use an html form within an e-mail to generate

  • 0

My Question: How do I use an html form within an e-mail to generate an e-mail which the client default e-mail program can use.

Note I realize you can’t send an e-mail directly from html. That’s not my goal. I want to create an e-mail to be used by the default e-mail client. This form is also within an e-mail.

I’m a beginner to html so this could be easy (and I’m open to style tips). Here’s my form. What I want is described in the comments. Is what I’m trying to do possible?

<form action="mailto:@@SELECTED_DESTINATION@@" method="post" enctype="text/plain">
  Select an issue type:<br />
  <select name="destination"> <!-- I want this to be the destination address of the e-mail -->
    <option value="bug@bug.com">Bug</option>
    <option value="enhancement@enhancement.com">Enhancement</option>
    <option value="feature@fature.com">New Feature</option>
  </select><br />
  Enter an e-mail for others to be informed:<br /> <!-- I want this to go into the cc of the e-mail -->
  <input type="text" /><br />
  Enter a summary of your issue:<br /> <!-- I want this to be the subject of the e-mail -->
  <input type="text" /><br />
  Enter a Description:<br />
  <textarea rows="6" cols="60"></textarea><br /> <!-- I want this to be the body of the e-mail -->
  <input type="submit" value="Send">
  <input type="reset" value="Reset">
</form>

When I submit the report now, I get an e-mail with the to as @@SELECTED_DEATINATION@@, no cc or subject, and a body that looks like this:

Destination=bug@bug.com 
cc=cc-email@cc.com 
subject=subject of the e-mail 
body=this is a description 

This is how I expected it to come out, but I would like to know how to make it come out with the to as the value of whatever destination option they selected, cc addresses as whatever they enter in the cc text field, the subject as whatever they enter in the subject text field, and the body as whatever they enter in the body text area. Thanks for the help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T02:12:15+00:00Added an answer on June 12, 2026 at 2:12 am

    This cannot be done due to limitations in e-mail clients (see comments to question). So the solution I thought of is having a link as follows:

    <a href="mailto:destination@example.com?cc=Enter%20Other%20Watchers%20Here&subject=Enter%20Bug%20Summary%20Here&body=Enter%20Bug%20Description%20Here">destination@example.com</a>
    

    This will load the user’s e-mail client with a compose e-mail which looks like this:

    • To: destination@example.com
    • Cc: Enter Other Watchers Here
    • Subject: Enter Bug Summary Here
    • Body: Enter Bug Description Here
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

HTML Javascript question to get the selected value of a input-select I can use
I can use a GET request to submit HTML form data. If a HEAD
my question is how would I use an HTML::Template tag inside a value of
I have an ajax form within a parent html form (not my code!). The
I am aware that I can Google HTML Form Validation and would get a
I have a wizard on my website in which several steps use the HTML
Currently I use this strategy: After submitting a HTML form or data sent using
Question: how can I use an output file stored on the OpenCPU server as
Simple question (I guess)... I'm in an edit-some-element html form. As the page load,
Question I use celery to launch task sets that look like this: I perform

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.