The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Php Mail Function - cPanel (Not all users get email)

Discussion in 'E-mail Discussions' started by multi-task, May 19, 2011.

  1. multi-task

    multi-task Registered

    Joined:
    Apr 27, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Problem:
    Not all recipients get email message. Most do but not all.

    Website is hosted with cPanel, email is with godaddy.

    All my code is correctly written using the php Mail Function. I'm a programmer not a server guy. :)

    Question:
    Why do some email accounts receive and others do not? I have searched for last 4hrs and there isn't any documentation on this. Do I need to turn something on / off? Correct headers are being sent it seems.

    Within cPanel -> Mail Statistics
    Same error for every failed delivery of;

    Rejected RCPT: (adsl92-86-234-56.romtelecom.net) [92.86.234.56] is currently not permitted to relay through this server. Perhaps you have not logged into the pop/imap server in the last 30 minutes or do not have SMTP Authentication turned on in your email client.

    Please advise.
    Thanks in advance.
    MT
     
    #1 multi-task, May 19, 2011
    Last edited: May 20, 2011
  2. devendradb

    devendradb Member

    Joined:
    May 8, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Mumbai, India
    Hi,
    Normally use SMTP authentication true, don't use PHP inbuilt function mail(), install pear packages pear mail, net_smtp on cpanel then send mail using pear. check PEAR Packages
     
Loading...

Share This Page