dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: PHP mail() delivery problems

  1. #1
    Join Date
    Jan 2005
    Posts
    216

    PHP mail() delivery problems

    I know this problem has already been beaten to death, but I can't find the answer to this specific problem so any help or insight is appreciated!

    I built a form that uses PHP's mail() function to deliver the data to an email address. Here's the problem: when I direct the form to send data to my personal Gmail account, it arrives perfectly. When I change the sendto address to an email account with another hosting company it doesn't ever arrive. Both the website and email addresses share the same domain name, but are set up through different companies because of timing issues.

    I've contacted both companies and both seem to have done everything they can to fix the problem, but the emails still won't arrive. I'm out of ideas, and since I'm kind of new at this, I don't even really know what the life of an email is, much less how to troubleshoot it. All I know is that my form works, because I've received emails on my personal account from it.

    If anyone has ideas, solutions or just speculations that I should inquire futher about, I appreciate it.

  2. #2
    Join Date
    Feb 2009
    Posts
    102
    Have you checked the spam folders? The server I use has gotten blacklisted once and so sometimes messages are delayed/spammed when sent to certain servers.

  3. #3
    Join Date
    Jan 2005
    Posts
    216
    Yes I have checked the spam filters but the messages don't seem to be getting caught in them for any account, even my personal one where the message did arrive. For the other ones the messages don't even get that far.

  4. #4
    Join Date
    Jan 2009
    Posts
    3,346
    Is the server sending the mail from a dynamic IP block? I have had problems in the past with servers rejecting emails from non-static IP blocks.

  5. #5
    Join Date
    Jan 2005
    Posts
    216
    Alright, my inexperience is officially kicking in... I don't really know what that is or how to check for/fix it. Sorry... any advice for the noobie?

  6. #6
    Join Date
    Nov 2008
    Posts
    2,477
    If you don't know you will need to ask whoever provides your mail server. If this is a hosting company, you will most likely (but not definitely) be on a static IP. If you are running this from a home server, you may well be on a dynamic IP and will either need to check in your modem config, or ask your ISP.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles