Can you change the Subject Line from an HTML Form?

L

Leo

I am trying to change the text in the subject line of an HTML form that sends
the form results in plain text format. This is a very simple, intranet affair
to make sure that our managers are sending all the information we analysts
need to process their request.

However, the default text that is added into the email subject line not
particularly descriptive: "Form posted from Microsoft Internet Explorer." Is
there a way to change the subject? I have tried adding the command 'subject =
"Report or Query Request"' to the form properties, but that did not work.

Thanks for your help.


<form method="POST" action="mailto:none@nonecom" enctype="text/plain">
 
S

Stefan B Rusynko

Right click the form for Properties and add the subject there

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I am trying to change the text in the subject line of an HTML form that sends
| the form results in plain text format. This is a very simple, intranet affair
| to make sure that our managers are sending all the information we analysts
| need to process their request.
|
| However, the default text that is added into the email subject line not
| particularly descriptive: "Form posted from Microsoft Internet Explorer." Is
| there a way to change the subject? I have tried adding the command 'subject =
| "Report or Query Request"' to the form properties, but that did not work.
|
| Thanks for your help.
|
|
| <form method="POST" action="mailto:none@nonecom" enctype="text/plain">
 
R

Ronx

If you can use the FrontPage extensions or server side scripting (asp,
php, asp.net) to process the form then you can set up your own subject
line very simply.

With your present method, try
<form method="POST" action="mailto:[email protected]?subject='Report or
Query Request'" enctype="text/plain">

Note that using Outlook 2007 as email client, the resulting email had to
be exported to Notepad to be read - Outlook could not open it.

FYI, My test email gave Report or Query Request as the subject,
and the form data in an attachment named postdata.att, containing:
Text1=tests&Submit1=submit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top