The email I received it just display <h1>Hello</h1> , I want to convert it only show out Hello as header. Thanksmy $smtp; my $part; my $pingStatus; my $localcount; my $subject = "Welcome to Booking Request"; $pingStatus = &checkTargetPing("mail.hotmail.com"); if ($pingStatus eq 1) { $smtp = Net::SMTP::TLS->new('mail.radisys.com'); $smtp->mail(@email); $smtp->to(@email); $smtp->mail('jason@hotmail.com'); # $smtp->to('jason@hotmail.com'); $smtp->data(); $smtp->datasend("From:Booking and Managment system\n"); $smtp->datasend("To: jason@hotmail.com\n"); $smtp->datasend("Subject: $subject\n"); $smtp->datasend("\n"); $smtp->datasend("<h1>Hello</h1>\n"); $smtp->quit; }
In reply to html format email by GordonLim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |