Results 1 to 12 of 12

Thread: php mail issue

  1. #1

    php mail issue

    The PHP mail function at my account is not working now. Tested with Joomla and Drupal CMS (installed via Fantastico). None of emails (send from CMS) externally of the network, only locally.

    How do I trace this, fix?

  2. #2
    Join Date
    Apr 2005
    Location
    Istanbul
    Posts
    763
    PHP scripts send mails as nobody if you dont have phpsuexec installed and prevent sending mail of nobady our scripts cant send mail
    Kind regards

  3. #3
    I am using phpsuexec support and now a 2nd person complained that the mail php function does not work. How do I fix this? This happened after runnning easyapache, but same exact modules as before. Nothing changes. How do I resolve?

  4. #4
    Do you have sendmail or a mail server properly configured on the server? Make sure php.ini has the mail parameters properly configured.

  5. #5
    How about explaining?

  6. #6
    As you told you installed joomla from fantastico, so I assume you have cpanel. Are you able to get the exim mail log?
    SupportPRO.com -Transparent Technical Support for Webhosts
    Let the PROs handle your support

  7. #7
    I have root access

  8. #8
    Then post the error while trying php mail();

    Are you getting something like Unroutbale mail domain xxx.com ???
    SupportPRO.com -Transparent Technical Support for Webhosts
    Let the PROs handle your support

  9. #9
    Please explain. I'm not a php programmer or such. How do i test this?

  10. #10
    Join Date
    Jan 2005
    Posts
    231
    Check the logs. Exim logs are usually located under /var/log/exim/.
    Copy&paste here some 'strange' entries.

  11. #11
    Join Date
    Sep 2005
    Location
    With My Laptop
    Posts
    5
    send mail from any site , then from shell type tail -f /var/log/exim_mainlog

    give us the entries .

  12. #12
    It seems you are using cPanel/WHM, I suggest you to update apache using WHM and select phpsuexec option.

    else you can do it without using phpsuxec by enable nobody users to send mail.

Posting Permissions

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