SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru hifigrafix's Avatar
    Join Date
    Oct 2005
    Location
    Nashville, TN
    Posts
    628
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sendmail Sending Mail Locally Despite eMail Being Hosted Remotely

    Our server hosts domain.com and we have a third party email service running all of the emails for @domain.com. When PHP dispatches emails to info@domain.com they are not being sent outside of the server because it's thinking that the email is hosted locally.

    Is there any way to force sendmail to look for the true location of the MX records to route the email to the appropriate place?

    Even using a third party smtp service (AuthSMTP) the emails are still not making it outside of the server.

    Any help is appreciated.

    Thank You
    Last edited by ScallioXTX; Jan 13, 2012 at 02:45. Reason: delinkified example email

  2. #2
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,547
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    You could use a library like swiftmailer which can connect to an external mail server. It is also possible to reconfigure sendmail to relay externally for the local domain have a look at this: http://stackoverflow.com/questions/3...ot-on-web-host


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •