[thelist] PHP's mail()

Anthony Baratta anthony at baratta.com
Tue Sep 9 11:44:57 CDT 2008

Sounds like your Web Hosting Company has an entry for that domain in their mail service. So it thinks the domain is local and never checks the MX record.

If you can't get the ISP to fix that, have the domain owners setup a local account for the WebServer and use the mail function to attach to their SMTP service (login via the credentials provided) and you should be able to drop local mail and relay through their server to other domains.

-----Original message-----
From: Jeffrey Barke jeffrey.barke at themechanism.com
Date: Tue, 09 Sep 2008 09:39:15 -0700
To: thelist at lists.evolt.org
Subject: [thelist] PHP's mail()

> Does anyone know how to send mail from a domain to that domain if the  
> domain's mail server is different than the Web host?
> I apologize if this isn't clear, but our client has an MX record that  
> points to a different server than their Web host. When I use PHP's  
> mail() function, mail is successfully sent to everyone except people  
> within the company.
> How would I send mail to them?
> Thanks,
> Jeffrey
>> Jeffrey Barke
> Senior developer / information architect
> theMechanism
> New York
> 440 9th Avenue
> 8th Floor
> New York, NY 10001-1631
> e:	jeffrey.barke at theMechanism.com
> w:	http://theMechanism.com
> t:	+1 212 404 3150
> f:	+1 212 404 3228
> theMechanism is a multi-disciplinary design agency with offices in New  
> York, London and Durban, South Africa.
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 

More information about the thelist mailing list