Solved

Format CGI Form

Posted on 2009-05-07
2
732 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
ID: 24347356
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

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…
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to count occurrences of each item in an array.
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…

919 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

17 Experts available now in Live!

Get 1:1 Help Now