in reply to
HTML/Plain Text mail
A good way is probably Mail::Sender as AidanLee already pointed out below.
If you (really have to) do it "by hand" using low level modules,
You'll have to give this kind of struct to the body :
Content-Type: multipart/alternative; boundary=\"$boundary2\"
Content-Type: text/plain; charset="..."
txt goes here
Content-Type: text/html; charset="..."
html goes here
Don't forget to add the :
content-type: multipart/mixed; boundary=\"$boundary\"
in the header.
Hopes this helps...
Added the Mail::Sender mention.
Noticed that it was already given by AidanLee
.I gave credits.