Format E-Mail as HTML

Is anyone aware of a tool which will allow me to format Unix Mail as html? I need to be able to deliver mail in a browser ( ala Hotmail ).

LVL 1
howesdAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

chris_calabreseCommented:
First, there are already a bunch of commercial systems that do this.

Meanwhile, the easiest way to do this is just put each mail into a text file and blast it out.  You won't get formatting of embedded tags or proper MIME attachments, but you won't get the security headaches that go with them either.

Doing a simple HTML conversion would be easy in a shell script, but getting MIME attachments right sounds very difficult.
0
howesdAuthor Commented:
That's backing up what I thought I suppose .... do you have any recommendations of commercial systems?
0
chris_calabreseCommented:
The following have web-based mail subsystems or add-ons:

ccMail
Notes-mail
GroupWise
Netscape/iPlanet Messaging Server
Exchange with MS Outlook Web Access


Also note that most web-browsers have integrated capabilities to deal with POP3 and IMAP, so if you you don't actually need HTTP mail, you can use any mail system that supports these.  This would include:

All of the above
The Mirapoint mail appliance
The commercial version of Sendmail
The free version of Sendmail with a third-party POP/IMAP server (also possibly free).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kris_JohnsonCommented:
IF YOU WISH TO USE PHP AND SENDMAIL IT SHOULD LOOK LIKE THIS AT THE BEGINING:


$message = "<!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN><html><head><title>Hawaii Document</title><META http-equiv=Content-Type content='text/html; charset=iso-8859-1'></head><body><center><img src = http://205.51.189.94/hgvc/email/eskimo.gif
 width = 400px height = 140px></center>\r\n<br>";

YOUR TEXT MESSAGE HERE:
$message .= "Your text message";

YOUR FROM LIKE THIS:
$from = "From: someone@somewhere.org\r\n Content-Type: text/html; charset = iso-8859-1\r\n"

YOUR DESTINATION LIKE THIS:

$to = "joebob@joebob.com";

YOUR SUBJECT LIKE THIS:
$sub = "enlarge a body part";

SEND IT LIKE THIS:
mail($to, $sub, $message, $from);

BEWARE 1--IF YOU HAVE A LOT OF TEXT ADD '\r\n' IN FRONT OF ANY '<br>' OR ELSE MS IE WILL RANDOMLY PLACE AN '!' SOMEWHERE IN YOUR TEXT WHEN SOMEONE VIEWS YOUR MESSAGE.

BEWARE 2--HOTMAIL(S**KS) HOTMAIL WILL RECJECT YOUR MESSAGE IF A BUTTERFLY FLAPS IT'S WINGS IN BRAZIL. I MYSELF FIND THIS EXTREMELY FRUSTRATING I HAVE A LIST OF 2500 CUSTOMERS AND HAVE OFTEN HAD HOTMAIL SIMPLY DROP A MESSAGE NO BOUNCE BACK NO NOTICE. IF YOU HAVE A RELATIVELY SMALL AMOUNT OF HOTMAIL ADDRESSES TO COVER YOU CAN BUILD AN ARRAY OF OUTLOOK MESSAGE ID'S BY EMAILING TO YOURSELF AND COPYING TO YOUR EMAIL RPOGRAM THIS WILL HELP FAKE OUT THEIR SPAM FILTERS AS THEY SEEM TO LIKE MESSAGES FROM OUTLOOK, I WONDER WHY?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.