in reply to SMTP Modules that are both Win32 and Unix compliant

You didn't look hard enough (CPAN is quite big!): Mail::Sendmail is pure-Perl, cross-platform, available for install via PPM and extremely simple to use. Take a look.

Chris
M-x auto-bs-mode

  • Comment on Re: SMTP Modules that are both Win32 and Unix compliant

Replies are listed 'Best First'.
Re: SMTP Modules that are both Win32 and Unix compliant
by lachoy (Parson) on Apr 23, 2001 at 20:02 UTC

    I've found MIME::Lite to be a good cross-platform MIME emailer. For an example that I've tested on both NT and Unix, see RE: sending email.

    Chris
    M-x auto-bs-mode

Re: Re: SMTP Modules that are both Win32 and Unix compliant
by grinder (Bishop) on Apr 23, 2001 at 19:56 UTC

    I second the notion. This module rocks (although getting it to handle MIME encoding is a bit of a hassle, but there is an example to help you get started). Mime::Tools handles this aspect well enough, but wants to deal with addressing the message as well, so it gets a bit conflictual between the two.

    I had a vague idea of making Mail::Sendmail Mime::Tools-aware, but the former is written pretty crappily and it exhausted my tuit supply.

    That said, I still reach for this module first when I need to sling email around, and, despite what the name would have you believe, it does not require sendmail(1)


    --
    g r i n d e r
Re: Re: SMTP Modules that are both Win32 and Unix compliant
by zakzebrowski (Curate) on Apr 23, 2001 at 23:15 UTC
    This begs the question why are there so many modules for the same functionality... (And therefore, what is a good way to reduce this complexity of finding relevant modules)