How to send HTML mail via 'use Net::SMTP'

M

Maneesh

I am using use Net::SMTPto send a mail, but the mail being send is in
the simple text format with the html code and I want that code to
appear in HTML.

How to achive this ? I am struggling.

-Maneesh
 
B

Ben Morrow

Quoth "Maneesh said:
I am using use Net::SMTPto send a mail, but the mail being send is in
the simple text format with the html code and I want that code to
appear in HTML.

How to achive this ? I am struggling.

You need to set the appropriate MIME headers to state that your message
is HTML. You may want to look at the MIME::Tools package on CPAN.

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top