Solved

FormMail.pl - is there a way to customize (format) the output e-mail that is sent out?

Posted on 2004-08-20
2
418 Views
Last Modified: 2011-09-20
Hello everyone,

this is my first question here. I am quite unfamiliar with programming and hope someone can help. I am using FormMail.pl Version 3.11c1 so that visitors to a website can fill out a form and send the info to our office.

The e-mail I receive after submitting a form shows the names of the form fields such as:

agents_name: test name
agents_company: company
submit: Send Message

Is there a way to customize the e-mail we receive so that the caption (such as "agents_name:") can appear as something else that is easier to understand for an emplyee who receives the e-mail? Changing it to: "Agent's name:" and perhaps bolding the info that is entered (in this case "test name" in bold)

Also, is there a way to eliminate the "submit: Send Message" part? Whatever the send button does isn't really of interest to someone receiving the e-mail.

Thank you in advance for any suggestions on how to format the output email we receive.

Richard
0
Comment
Question by:sagonaholdings
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
mishagale earned 500 total points
ID: 11860735
You will need to actually modify the script itself. If you are using the script I think you are using, from Matt's Script Archive (http://www.scriptarchive.com/formmail.html), then the version you are using is highly insecure and you should upgrade to the latest version immediately. As far as I can see, there is no user configurable way to change the format of the e-mail, so you (or someone) need to do some programming. Alternativley, can't you just give your field names the names you want to appear in the e-mail? I.e. <input name="Agent's Name"> rather than <input name="agents_name">
0
 

Author Comment

by:sagonaholdings
ID: 11860790
Thank you for the recommendation to use a more updated script and the way to change the captions for the fields. I believe it was said in the documentation that the fields would need to be formatted in a certain way to avoid problems but it worked.  I will keep trying re the formatting.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question