[horde] error sending message

Alain DEFRANCE alain.defrance at univ-evry.fr
Wed Mar 2 10:33:56 UTC 2011


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...

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...';
     }
?>

> Quoting Alain DEFRANCE <alain.defrance at univ-evry.fr>:
>
>> hello,
>> is there someone who could tell me how to resolve the following
>> problème ?
>> my pear/php is the last version...
>> which file in imp can i modify to delete trailing space....?
>> all my horde system is ok except sending message... too bad...
>>
>> thank a lot
>>
>> regards
>>
>>
>>>>> On 18.02.11 11:01, Alain DEFRANCE wrote:
>>>>>> Une erreur est survenue lors de l'envoi du message : Failed to set
>>>>>> sender: alain.defrance at univ-evry.fr [SMTP: Invalid response code
>>>>>> received from server (code: 501, response: #5.5.2 syntax error 'MAIL
>>>>>> FROM:<alain.defrance at univ-evry.fr> ')]
>>>>> this looks like trailing space at the end of MAIL FROM: command. Some
>>>>> SMTP
>>>>> servers reject this.
>>>>> However I don't know the reason why this happens...
>>>> http://pear.php.net/bugs/bug.php?id989
>
> upgrade your Net_SMTP package from PEAR.
>
> michael
>


-- 
Direction des systèmes d'information (DiSI)

Centre d'Exploitation des Infrastructures Informatiques (CEDII)
Cellule Réseau et Expertise Systèmes

Alain DEFRANCE - Ingénieur systèmes et réseaux

Bât Ile de France - RDC - Bureau 58
Université d'Evry Val d'Essonne
4, Bd F. Mitterrand - 91025 EVRY Cedex

Tel : 01.69.47.80.69 - Fax : 01.69.47.80.24
Mail : alain.defrance at univ-evry.fr
Site UEVE : http://www.univ-evry.fr



More information about the horde mailing list