SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2008
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help - BEYOND frustrated - PHP Form only sends to certain e-mails

    OK. I give up.

    PHP Code:
    // multiple recipients
    $to  'email@company.com';

    // subject
    $subject 'Employment Application from Company';

    // message
    $message ' all my message stuff is here...'

    // Headers
    $headers  "MIME-Version: 1.0\n";
    $headers .= "Content-type: text/plain;\r\n";
    $headers .= "X-Priority: 3\n";
    $headers .= "X-MSMail-Priority: Normal\n";
    $headers .= "X-Mailer: php\n";


    // Mail it
    mail($to$subject$message$headers,); 
    This goes through if I use my GMail account. When I use my work email address, NOTHING comes through.

    I am getting beyond frustrated at this point. I have spent most of my day trying to find a solution.

    Anyone familiar with this?

    Thanks!!

  2. #2
    SitePoint Evangelist ferrari_chris's Avatar
    Join Date
    Mar 2008
    Location
    NP, New Zealand
    Posts
    576
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The email might be getting caught in your company's SPAM filter.

    This has happened to me many times.

    Have you checked there? I usually have to email my IT department and get them to unblock that sender.

  3. #3
    SitePoint Zealot
    Join Date
    Mar 2008
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ferrari_chris View Post
    The email might be getting caught in your company's SPAM filter.

    This has happened to me many times.

    Have you checked there? I usually have to email my IT department and get them to unblock that sender.
    Didn't think about that. I will check with our system admin tomorrow.

    Really frustrating though...

  4. #4
    SitePoint Evangelist ferrari_chris's Avatar
    Join Date
    Mar 2008
    Location
    NP, New Zealand
    Posts
    576
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If it is that, once it gets unblocked you should have no problems.

    But yes, it can be frustrating figuring out obscure problems like these...


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
  •