Announcement

Collapse
No announcement yet.

emailing passwords

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

  • emailing passwords

    I keep getting this error when trying to email passwords to users. it on members.php line 158.

    I'm using vbulletin 2.2.6

    I've tried changing it as stated in other threads but I get no results....

    I tried mailtest.php and got no errors... but the mail was never delivered.

    can you help me out here please??

    my phpinfo is here

    thanks

  • #2
    You cannot email passwords to users. You can only trigger a password reset for them.

    However what is the error that you are getting? We can't do anything without knowing whether it is a PHP error, MYSQL error or even a webserver error.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      basically it's a arning, saying:

      server error on / location/member.php line 158

      I get many of these warnings when any type of emailing feature is used... from the control cp, if i click the "email password" next to the user, i get that warning, when someone new registers they get the warning and the paswords etc is not sent to confirm their registration.

      this is what it says when i try to email all the administrators (and i get different email errors on different pages, including when people registerl):

      _____________________________

      7 - JSkardzius .... sending ...
      Warning: Server Error in E:\INetPub\WWWRoot\econet\upload\admin\email.php on line 148
      ok
      6 - kleslie .... sending ...
      Warning: Server Error in E:\INetPub\WWWRoot\econet\upload\admin\email.php on line 148
      ok
      2 - rvance .... sending ...
      Warning: Server Error in E:\INetPub\WWWRoot\econet\upload\admin\email.php on line 148
      ok
      1 - webmaster .... sending ...
      Warning: Server Error in E:\INetPub\WWWRoot\econet\upload\admin\email.php on line 148
      ok
      __________________________________________________

      the code on the email.php line 148 is:

      mail($user[email],$subject,$sendmessage,"From: $from");
      Last edited by RONIN-1; Fri 7 Jun '02, 1:05pm.

      Comment


      • #4
        also...

        users get this error when registering:

        Warning: Server Error in E:\INetPub\WWWRoot\econet\upload\register.php on line 502


        that line in register.php reads:

        eval("\$subject = \"".gettemplate("emailsubject_newuser",1,0)."\";");

        Comment


        • #5
          (c:\windows\) php.ini
          Did you set up smtp server details in php.ini properly ?

          Comment


          • #6
            There's no sendmail path in php.ini. I'm pretty sure PHP mail won't work without one.
            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
              [mail function]
              SMTP = localhost ;for win32 only
              sendmail_from = [email protected] ;for win32 only
              ;sendmail_path = ;for unix only, may supply arguments as well (default is 'sendmail -t -i')
              Ok, but this is the part that I was trying to refer to

              Comment


              • #8
                so do i have to put this:

                --------------------------------------------------------

                [mail function]
                SMTP = localhost ;for win32 only
                sendmail_from = [email protected] ;for win32 only
                ;sendmail_path = ;for unix only, may supply arguments as well (default is 'sendmail -t -i')

                ---------------------------------------------------------------

                in my php.ini???

                Comment


                • #9
                  If you are using a Windows based server, yes. It would either be localhost or the iport of your SMTP server.
                  Translations provided by Google.

                  Wayne Luke
                  The Rabid Badger - a vBulletin Cloud demonstration site.
                  vBulletin 5 API

                  Comment


                  • #10
                    ok, but I mean for the sendmail path???

                    cuase isn't sendmail -t -i for Apache??

                    Comment


                    • #11
                      Code:
                      ;sendmail_path = ;for unix only, may supply arguments as well (default is 'sendmail -t -i')
                      It appears I was wrong and a path is not needed for Windows servers. However I have seen this path in php info from other Windows servers before. You could always put it in and see if it makes a difference.
                      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


                      • #12
                        ok, I'll try that.

                        thanks.

                        Comment

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