• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

sending HTML email

is there a way to send email in HTML format via cgi?  i'm pretty amature at cgi but i have used formmail scripts in pearl and asp in the past to send mail but only in text format.  how can i do this in HTML?
  • 2
1 Solution
Yes, with the MIME::Lite module (very easy to install if you don't already have it).

See http://search.cpan.org/~yves/MIME-Lite-3.01/lib/MIME/Lite.pm
bgouletAuthor Commented:
in all of the examples i see i see no reference to the sendmail path. can i infer i don't need sendmail?  i also see unix references but no confirmation that this works on a windows server.
The MIME::Lite module automatically determines the sendmail path.

If you are on a Windows server without sendmail (most likely), then you just specify a SMTP server.  Simple.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now