Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML email

Status
Not open for further replies.

santhas

Technical User
Aug 27, 2003
35
AU
How can I embed a HTML formated file into email via perl on SOlaris. When I print it into email it prints like

/font></TD>
<TD WIDTH = 2% BGCOLOR = #F0F0F0>&nbsp</TD> <TD ALIGN = LEFT WIDTH = 45% BGCOLOR = #F0F0F0> <font size = 2 face = 'Courier New' color = navy> <U>OW REQUESTS (IAPF940)</U> </font></TD> <TD ALIGN = LEFT WIDTH = 50% BGCOLOR = #F0F0F0> <font size = 2 face = 'Courier New' color = blue> All files processed successfully </font></TD></TR> <TR><TD ALIGN = RIGHT WIDTH = 3% BGCOLOR = #F8F8F8> <font size = 2 face = 'Courier New' color = black>
1
</font></TD>

If I call sendmail program through shell script and cat the file to the email it works fine ( receives email with HTML format).

Any help

Thanks


 
Hi

You have to send it MIME formatted. Easier with a module, for example MIME::Lite.

And I do not believe it receives HTML mail. Probably the mail client detects the content type and decides to render it as HTML.

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top