Solved

Format CGI Form

Posted on 2009-05-07
2
734 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

860 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