in reply to Re^2: Mail::Mailer on NT
in thread Mail::Mailer on NT
#!/usr/local/bin/perl use strict; use warnings; use Mail::Mailer; my %headers = ( 'To' => 'foo@bar.com', 'From' => 'bar@foo.com', 'Subject' => 'test' ); my $body = "Test Test"; my $mailer = new Mail::Mailer 'sendmail'; $mailer->open(\%headers); print $mailer $body;
Now was that so hard ... it's right out of the documentation. No free pass next time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |