Solved

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

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
work on ods spreadsheet with perl in ubuntu 4 76
use google analytics code in perl script 2 77
Using Perl DBI to query oracle 3 43
read an xml file in perl 2 32
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

810 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