Solved

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

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now