Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How do I send e-mail from my Perl Program?

by chromatic (Archbishop)
on Mar 31, 2000 at 00:33 UTC ( [id://6550]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    use Mail::Mailer;
    ...
    }); 
    print $mailer $body;
    $mailer->close();
    
  2. or download this
    open(MAIL, "|/usr/lib/sendmail -oi -t -odq") || die "Can't open sendma
    +il: $!";
    print MAIL <<MESSAGE;
    From: Your name <emailaddress\@blah.com>
    ...
    this is easy.
    MESSAGE
    close(MAIL);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://6550]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-19 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found