Results 1 to 6 of 6

Thread: Not Getting Mail from PHP form

  1. #1
    Join Date
    Jan 2011
    Beans
    27

    Not Getting Mail from PHP form

    I have several forms created on my server. I'm running Ubuntu server 10.04.

    I was running Ubuntu server 10.10 up until Tuesday Night. I decided to go to Ubuntu Server 10.04 in favor of the long term support of it.

    While running Ubuntu server 10.10 all my forms worked and would send the form data to my email without issue.
    Now after transfer the site to Ubuntu 10.04 I'm not getting any of the email messages. I have verified my email works by sending a test email directly to the account.

    I'm wondering what I can do to troubleshoot this and resolve this issue. I'm pretty new to linux so I'm still learning.

    Thank You,

  2. #2
    Join Date
    Jun 2009
    Location
    Indiana
    Beans
    85
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Not Getting Mail from PHP form

    Is your server that is hosting the php forms also your mail server?
    =========================================

    We are drowning in information, but starved for knowledge....

  3. #3
    Join Date
    Jan 2011
    Beans
    27

    Re: Not Getting Mail from PHP form

    No. The machine hosting the php forms and the website isn't the mail server. It is sending the mail to a gmail account that have configured with my purchased domain name.

  4. #4
    Join Date
    Jun 2009
    Location
    Indiana
    Beans
    85
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Not Getting Mail from PHP form

    Are you seeing the emails in the mail queue? Have you verified the mail settings on the webserver? You may want look at the old mail config and compare it to the new one.

    Least that's my 2cents anyway.
    =========================================

    We are drowning in information, but starved for knowledge....

  5. #5
    Join Date
    Jan 2011
    Beans
    27

    Re: Not Getting Mail from PHP form

    How do I check the mail queue? I never changed any default settings on php mail handling on either 10.10 or 10.04. I just coded the PHP code to process and send the data to an email address.

  6. #6
    Join Date
    Nov 2006
    Location
    Belgium
    Beans
    3,025
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Not Getting Mail from PHP form

    forget the mail queue.

    look at your web server logs and see what it says when the mailer script is accessed or requested (increase verbosity on the logging if need be)

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
  •