Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: How to sendmail using Perl in WindowXP

by shonorio (Hermit)
on Jan 25, 2007 at 23:53 UTC ( #596650=note: print w/replies, xml ) Need Help??

in reply to How to sendmail using Perl in WindowXP

The easier way, and way that I use on my systems, is with Net::SMTP if you have a SMTP server on you enviroment. The other way is to use OLE to talk with Outlook or any other email client, but this is the hard way, very hard :)

Solli Moreira Honorio
Sao Paulo - Brazil

  • Comment on Re: How to sendmail using Perl in WindowXP

Replies are listed 'Best First'.
Re^2: How to sendmail using Perl in WindowXP
by xdg (Monsignor) on Jan 26, 2007 at 00:10 UTC

    For a higher-level abstraction, also consider Email::Send.

    From the synopsis:

    use Email::Send; my $message = <<'__MESSAGE__'; To: From: Subject: Hello there folks How are you? Enjoy! __MESSAGE__ my $sender = Email::Send->new({mailer => 'SMTP'}); $sender->mailer_args([Host => '']); $sender->send($message);


    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2023-01-27 14:04 GMT
Find Nodes?
    Voting Booth?

    No recent polls found