PHP Classes

problem with MS Exchange

Recommend this page to a friend!

      MIME E-mail message sending  >  MIME E-mail message sending package blog  >  How Can PHP Send Emai...  >  All threads  >  problem with MS Exchange  >  (Un) Subscribe thread alerts  
Subject:problem with MS Exchange
Summary:SMTP server response: 501 5.5.4 Invalid Address
Messages:2
Author:Lurias
Date:2006-08-17 15:59:00
Update:2006-08-18 18:41:54
 

  1. problem with MS Exchange   Reply   Report abuse  
Picture of Lurias Lurias - 2006-08-17 15:59:00
There is a bug in MS Exhange that doesnīt allow to send messages with the mieme e-mail message class:

us3.php.net/manual/en/ref.mail.php# ...

The error message is as follows:

Error: it was not possible to send e-mail message : SMTP server response: 501 5.5.4 Invalid Address



The solution seems easy to implement and very usefull when you donīt have control over the exchange server.




  2. Re: problem with MS Exchange   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2006-08-18 18:41:54 - In reply to message 1 from Lurias
Thank you for reporting the problem.

Unfortunately there is nothing it can be done automatically in the MIME message class to work around the problem because there is no way to tell whether the MTA is that buggy version of Microsoft Exchange.

Still it is good to keep that information here so other users learn to change the way they set the From header when they know that the MTA is Microsoft Exchange, using for instance:

$email_message->SetHeader('From', '"some@address.com"');