[imp] WAP ?

Fabrice Laborie laborie@sbm.net.sa
Tue, 13 Feb 2001 14:46:49 +0300


Hi Lars !



Lars Hecking wrote:

>  
> 
>> Second, I have to say that I was quite surprised to read (2.3.9 Is 
>> Sendmail required?)
>> that it was required ( or ssmtp ) ...  rather than using something 
>> similar to perl SMTP modules
>> for security reasons.
> 
>  
>  I can't find what you're refering to,


I was refering to 
http://www.cpan.org/authors/id/M/MI/MIVKOVIC/Mail-Sendmail-0.78.tar.gz

extract from perlfoc Mail::Sendmail
-------------8<--------------------
    NAME
         Mail::Sendmail v. 0.78 - Simple platform independent mailer

    SYNOPSIS
           use Mail::Sendmail;

           %mail = ( To      => 'you@there.com',
                     From    => 'me@here.com',
                     Message => "This is a very short message"
                    );

           sendmail(%mail) or die $Mail::Sendmail::error;

           print "OK. Log says:\n", $Mail::Sendmail::log;


    DESCRIPTION
         Simple platform independent e-mail from your perl script.
         Only requires Perl 5 and a network connection.

         After struggling for some time with various command-line
         mailing programs which never did exactly what I wanted, I
         put together this Perl only solution.

         Mail::Sendmail contains mainly &sendmail, which takes a hash
         with the message to send and sends it. It is intended to be
         very easy to setup and use.

------------->8--------------------

>  but some form of sendmail is
>  installed on more or less any Unix system. Why make IMP installation
>  even more complicated as it already is by requiring yet another
>  software which is not normally installed by default?

even for those who would trust running sendmail, the real reason would 
be NOT to FORK a new
process everytime you send a mail instead of using a library to do so ...

> 
> 
>  As far as current versions of sendmail are concerned, security is much
>  better than its reputation. If you are using a different MTA which
>  provides a sendmail-compatible interface for mail injection (such as
>  postfix; dunno about qmail), an MTA with modular structure and designed-in
>  security, even better.

I am not a php developper ... but a quick search on the News too me to
a message :

------------->8--------------------
You may want to look here for a PHP SMTP client class that can send
messages to multiple recipients as fast as SMTP allows.
http://phpclasses.UpperDesign.com/browse.html/package/14
-------------8<--------------------

regards,

fab


>