GordonLim has asked for the wisdom of the Perl Monks concerning the following question:
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; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: html format email
by Corion (Patriarch) on Apr 05, 2013 at 09:45 UTC | |
by derby (Abbot) on Apr 05, 2013 at 10:08 UTC | |
|
Re: html format email
by golux (Chaplain) on Apr 05, 2013 at 13:47 UTC | |
by GordonLim (Acolyte) on Apr 05, 2013 at 19:35 UTC | |
by golux (Chaplain) on Apr 05, 2013 at 19:42 UTC | |
by GordonLim (Acolyte) on Apr 09, 2013 at 02:26 UTC | |
|
Re: html format email
by hdb (Monsignor) on Apr 05, 2013 at 10:24 UTC |