Solved

Format CGI Form

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
This article will show, step by step, how to integrate R code into a R Sweave document
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 count occurrences of each item in an array.

617 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