$smtp=Net::SMTP->new('your smtp server'); $smtp->mail('your email address'); $smtp->to('Your reciepient'); $smtp->data(); $smtp->datasend("Content-type:TEXT/html,charset=utf-8\n"); $smtp->datasend("To: someone\@somedomain.com\n"); $smtp->datasend("\n"); $smtp->datasend("<html>Your html here!</html>"); $smtp->dataend(); $smtp->quit();
In reply to Re^3: Perl and HTML E-mail
by Anonymous Monk
in thread Perl and HTML E-mail
by mellin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |