in reply to Re: Mail::Mailer on NT
in thread Mail::Mailer on NT

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^3: Mail::Mailer on NT
by derby (Abbot) on Mar 08, 2005 at 16:21 UTC
    Okay. This is by no means a full script - you need to flush out the headers so SPAM filters don't trash you.

    #!/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.

    -derby
    A reply falls below the community's threshold of quality. You may see it by logging in.