Hi All,
I am trying to send an email using PERL, on a UNIX server using the sendmail programme. It works fine except for 1 thing. I cannot define the font size, colour etc using HTML. Here is my code:
my $to2 ='someone@someweb.ie';
my $from2 ='someone@someweb.ie';
my $Subject2 = "Some Subject";
open(MAIL, "|/usr/lib/sendmail -t");
print MAIL "To: $to2 \nFrom: $from2\n";
print MAIL "Subject: $Subject2\n";
print MAIL '<body><font size=5 color=red>Testing<br><font size=4 color=green></body>';
close(MAIL);
The code above sends the email ok but the HTML comes out as plain text in the email. Anyone got any ideas how to send different style texts, sizes, pics etc via sendmail?
Thanks.