Mail send error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • www.opensc.ws
    Banned
    • Oct 2005
    • 38
    • 3.5.x

    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?
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #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

    • www.opensc.ws
      Banned
      • Oct 2005
      • 38
      • 3.5.x

      #3
      this is what they replied

      You can use PHP's build in mail(); function, please refer to


      Kind regards,

      Comment

      • Boxy
        Senior Member
        • Oct 2002
        • 3139

        #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

        • www.opensc.ws
          Banned
          • Oct 2005
          • 38
          • 3.5.x

          #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

          • Steve Machol
            Former Customer Support Manager
            • Jul 2000
            • 154488

            #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

            • pdisme
              New Member
              • Feb 2007
              • 28
              • 3.6.x

              #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

              • www.opensc.ws
                Banned
                • Oct 2005
                • 38
                • 3.5.x

                #8
                Originally posted by pdisme
                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

                • pdisme
                  New Member
                  • Feb 2007
                  • 28
                  • 3.6.x

                  #9
                  Originally posted by www.opensc.ws
                  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...