Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cannot Sendmail to my own domain

Discussion in 'E-mail Discussion' started by lewismediaderek, Aug 23, 2007.

  1. lewismediaderek

    lewismediaderek Registered

    Nov 3, 2005
    Likes Received:
    Trophy Points:
    I'm using a PHP script to try to send some email out: it works as normal in every case except for one hosting package.
    In this package, I cannot receive any mail that is sent to the originating domain. Sending mail to/from any other domain works just fine.

    If I try the following:
    mail ('', 'Test Message', 'Test Body', 'From: Testing<>');
    with the script resident on domain1, the message does not get delivered and I do not get any bounces/notifications.

    All of the following work perfectly, though (where domain1 and domain2 are on the same server, but different hosting packages):
    mail ('', 'Test Message', 'Test Body', 'From: Testing<>'); [script on domain1]
    mail ('', 'Test Message', 'Test Body', 'From: Testing<>'); [script on domain2]
    mail ('', 'Test Message', 'Test Body', 'From: Testing<>'); [script on domain2]

    Does anyone have an idea of where I can look for anything that might be causing this?
    Thanks for your help!
  2. jandafields

    jandafields Well-Known Member

    May 6, 2004
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Look at the server mail logs, it will tell you what happened to them.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice