[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2004-08-20
2
Medium Priority
?
425 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 1500 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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

656 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