Solved

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

Posted on 2004-08-20
2
416 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Uploading Binary Data using Perl 5 105
How to strip .csv from file name 9 85
create a gui in perl 3 112
Perl script to delete older files 6 100
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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…

734 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