Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to configure PHP, Joomla, IIS6 and Windows Server 2003 to play ball with a new SMTP server that I've been told is replacing our existing setup. I've tried the following:

PHP: Set php.ini SMTP field to the new SMTP server IP Set port to 25

Joomla: Configured Global Config / Server Mail settings to same SMTP server IP, port as above

IIS: Restarted, recycled app pool

To no avail...

Weirdly, mail is sent fine internally, but external mail fails. A relay was set up previously that I've been told nothing about, not sure how to best start investigating this as a potential cause. PHP throws the following error when trying to use our contact form:

PHPMAILER_RECIPIENTS_FAILED

Any ideas of where to start looking? I don't have access to the SMTP server directly to check settings, though the client tells me it is configured correctly... Happy to provide more info if it helps.

(Apologies if this is better suited to SO, first post here)

share|improve this question
    
What Mail Server is that -- MailEnable .. or something else? –  LazyOne Jul 4 '11 at 16:29
    
Exchange Server. –  codinghands Jul 4 '11 at 16:33
    
Exchange ... I have not worked with it. Better re-tag this question accordingly. In my opinion the fault is in Exchange configuration rather than PHP side (possibly mail relay is not enabled or not configured properly). As I understand you are using PhpMailer to send emails -- how do you send it -- using mail transport or SMTP (recommended -- PhpMailer will connect directly to SMTP service using username & password for existing mail account)? –  LazyOne Jul 4 '11 at 16:44
    
Apologies for the super late reply. It did end up being an Exchange error - us at the web dev house just got lumped with it :) –  codinghands Aug 11 '11 at 11:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.