Announcement

Collapse
No announcement yet.

Mail send error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mail send error

    when I run the diagnostics I get:

    SMTP: localhost
    sendmail_from: None
    sendmail_path: /usr/sbin/sendmail -t -i


    Results
    The mailing function returned an error while trying to send the mail.
    Check your mail server to ensure it is configured correctly to allow PHP to send mail from it. You should also check your mail server's error log for more diagnostic information.
    what should I say to my webhost?

  • #2
    Have them make sure PHP is properly configured to use the mail server and have them check the mail logs to see what specific problems there are.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      this is what they replied

      You can use PHP's build in mail(); function, please refer to
      http://php.net/mail

      Kind regards,

      Comment


      • #4
        vBulletin uses PHP's mail() function for all its email and uses the SMTP server specified in php.ini. If PHP and the mail server are configured correctly then email will work.

        Once vB sends it to PHP it's in the hands of the server. You'll need to ask your host to check the configuration and mail logs to find out what is causing the problem.

        Comment


        • #5
          as advised by my webhost I placed a test.php

          <?php
          mail("[email protected]", "test", "test");
          ?>
          and it worked.

          so should I open a support ticket?

          Comment


          • #6
            If you are still getting this error:

            The mailing function returned an error while trying to send the mail.
            Check your mail server to ensure it is configured correctly to allow PHP to send mail from it. You should also check your mail server's error log for more diagnostic information


            Then frankly there is nothing we can do. This is something your host will need to investigate and fix.
            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
            Change CKEditor Colors to Match Style (for 4.1.4 and above)

            Steve Machol Photography


            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


            Comment


            • #7
              The -f argument can only be used if PHP is running NOT in safe mode; if your site is running in safe mode, you cannot turn the -f option on in the vbulletin config unless your host turns safe mode off, which some will not.

              Comment


              • #8
                Originally posted by pdisme View Post
                The -f argument can only be used if PHP is running NOT in safe mode; if your site is running in safe mode, you cannot turn the -f option on in the vbulletin config unless your host turns safe mode off, which some will not.
                where do you see that I have -f on?

                sendmail_path: /usr/sbin/sendmail -t -i

                Comment


                • #9
                  Originally posted by www.opensc.ws View Post
                  where do you see that I have -f on?
                  Sorry, thought maybe you had switched to the php mail function and were still getting the same error; which would be normal if safe mode was on, but not if it's off or you don't have vbulletin set to use the -f.

                  Comment

                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                  Working...
                  X