Solved

Format CGI Form

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
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…

751 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