Solved

Format CGI Form

Posted on 2009-05-07
2
731 Views
Last Modified: 2013-12-25
Hello

Is there any way to format the text from a cgi formmail script once it has been submitted from the html form?
I need the form to be displayed in the recipient email in the following format

Starfish Application

Generated from : http://www.starfishproject.freeserve.co.uk/appform.htm

(Bullet point  Here)	subject  (bold text)

(Bullet point  Here )            Starfish Application 

(Bullet point  Here)	targetpage  (bold text)

(Bullet point  Here)	http://www.url.co.uk/acknowledge.htm 

(Bullet point  Here)	mailuser (bold text)

(Bullet point  Here)	anne 

(Bullet point  Here)             Name (bold text)

(Bullet point  Here)	Kevin Blakely

                                           ..........etc

Open in new window

0
Comment
Question by:kevinb4940
2 Comments
 
LVL 1

Accepted Solution

by:
totzi earned 250 total points
Comment Utility
Try to use the CPAN module
MIME::Lite::HTML - Provide routine to transform a HTML page in a MIME-Lite mail


This module is a Perl mail client interface for sending message that support HTML format and build them for you.. This module provide routine to transform a HTML page in MIME::Lite mail. So you need this module to use MIME-Lite-HTML possibilities


http://search.cpan.org/~alian/MIME-Lite-HTML-1.23/HTML.pm

Open in new window

0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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 …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
The viewer will learn how to dynamically set the form action using jQuery.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

744 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

9 Experts available now in Live!

Get 1:1 Help Now