[horde] error sending message
Michael M Slusarz
slusarz at horde.org
Wed Mar 2 17:33:15 UTC 2011
Quoting Alain DEFRANCE <alain.defrance at univ-evry.fr>:
> thank for reply..
> but my Net_SMTP package is up to date :
> when i try to install :
>
> pear install Net_SMTP
>
> pear/Net_SMTP is already installed and is the same as the released
> version 1.5.0
> install failed
>
> so i've the right version...
Most likely your PEAR install location is NOT the location where PHP
is loading Net_SMTP from. However, this is not a Horde/IMP issue so
you should find a more appropriate place to find support.
> when i use a php script to send mail like this one, it works fine !
> really i don't understand where is the problem...
>
> <?php
> $headers ='From: "nom"<ares at univ-evry.fr>'."\n";
> $headers .='Reply-To: alain.defrance at univ-evry.fr'."\n";
> $headers .='Content-Type: text/plain; charset="iso-8859-1"'."\n";
> $headers .='Content-Transfer-Encoding: 8bit';
>
> if(mail('alain.defrance at gmail.com', 'Sujet', 'Message de test',
> $headers))
> {
> echo 'message send..';
> }
> else
> {
> echo 'error on sending...';
> }
> ?>
This script proves nothing. mail() doesn't use Net_SMTP.
michael
--
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list