Beta 4 - still no emails sent out

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HexOnxOnx
    Senior Member
    • Apr 2003
    • 638
    • 3.7.x

    Beta 4 - still no emails sent out

    I have installed Beta 4 and just like in beta 3, emails are not send out untill I browse the board.
    http://www.icecreamforum.com
  • Freddie Bingham
    Former vBulletin Developer
    • May 2000
    • 14057
    • 1.1.x

    #2
    Well, yes, that is the way it works. We just added more pages that will fire the emails.

    Comment

    • HexOnxOnx
      Senior Member
      • Apr 2003
      • 638
      • 3.7.x

      #3
      Originally posted by freddie
      Well, yes, that is the way it works. We just added more pages that will fire the emails.
      No this was supposed to be changed as an option...see this post. Again, if this is left to a board just starting out, this will kill a new board if someone just registers and waits and waits and waits for the email that may never come till someone else visits the board. I have 3 members on my new board....one of them never posted because he never got the confirm email.
      http://www.icecreamforum.com

      Comment

      • Freddie Bingham
        Former vBulletin Developer
        • May 2000
        • 14057
        • 1.1.x

        #4
        Well I guess we will have to ask Scott why he didn't do it if he said he was going to. I'm sure you will see it in Beta 5 then. We are working on a bug tracking system that should debut itself soon so that we don't miss taking action on some problems.

        Comment

        • Freddie Bingham
          Former vBulletin Developer
          • May 2000
          • 14057
          • 1.1.x

          #5
          Actually I just did it for him so look in Server Settings and Optimization Options in beta 5 to disable the mailqueue.

          If you wish to have emails sent directly in beta 4 you can do this:

          in includes/functions.php around line 2316 find:
          PHP Code:
          $data '(' TIMENOW .' , "' addslashes($toemail) . '" , "' addslashes($subject) . '" , "' addslashes($message) . '" , "' addslashes($headers) . '" )';

          global 
          $bulkon $mailsql $mailcounter;

          if (
          $bulkon)
          {
              if (!empty(
          $mailsql))
              {
                  
          $mailsql .= ', ';
              }

              
          $mailsql .= $data;
              
          $mailcounter++;
          }
          else
          {
              
          $DB_site->query("
                  INSERT INTO " 
          TABLE_PREFIX "mailqueue
                  (dateline,toemail,subject,message,header)
                  VALUES
                  " 
          $data
              
          );
              
          $DB_site->query("
                  UPDATE " 
          TABLE_PREFIX "datastore
                  SET data = data + 1
                  WHERE title = 'mailqueue'
              "
          );

          Replace with:

          PHP Code:
          mail($toemail$subject$messagetrim($headers)); 
          Last edited by Freddie Bingham; Sat 28 Jun '03, 3:06am.

          Comment

          • HexOnxOnx
            Senior Member
            • Apr 2003
            • 638
            • 3.7.x

            #6
            Thanks Freddie, that fixed the problem now. I wasn't advertising my forums anywhere yet because of this, now I can!
            http://www.icecreamforum.com

            Comment

            • Lazersam
              Member
              • May 2003
              • 31

              #7
              Thanks Freddie and HexOnxOnx for showing me this thread - that solved the problem great! In the next update shall we put the old function.php back if the problem is to be fixed in another way??

              Lazersam

              Comment

              • Freddie Bingham
                Former vBulletin Developer
                • May 2000
                • 14057
                • 1.1.x

                #8
                Beta 5 has a switch in the admincp to control this.

                Comment

                • reefland
                  Senior Member
                  • Sep 2000
                  • 1131

                  #9
                  freddie,

                  I utilized the code you posted and it works, but don't work. Let me explain.

                  I have several users on my forum that are still complaining about not getting e-mail notification for thread replies, even when using Instant E-mail Notification. They come in for threads I am subscribed to immediately but one of my super mods and one of my regular mods are not getting them.

                  Any thoughts?
                  Scott Z.
                  sigpic
                  Nation of Blue - Kentucky Wildcats Sports


                  Some CMS Goodness: Add Avatar to Article

                  Comment

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

                    #10
                    You will need to view the mail logs on the server to see what happened to those emails. Once vB sends it to PHP it's in the hands of the server. If you are on a shared server you may need to ask your host to look through the logs for you.

                    For what it's worth I get a lot of bounced emails from people who's mail boxes are full, 'unavailable' or over quota. This is a particular problem with hotmail and yahoo accounts. Unless you are on a dedicated server and can set where these bounce messages go, you will never see them. The mail logs will have a record of these though.
                    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

                    • reefland
                      Senior Member
                      • Sep 2000
                      • 1131

                      #11
                      Steve,

                      Here is what I have learned to this point; this information is from my host.

                      We've identified an issue with phpmail() function on a few servers (including xxx). This has been addressed by Cpanel and the next version release coming out soon is supposed to resolve this.

                      I have 2 accounts with this host on 2 different servers, both running different versions of PHP and CPanel. The account I am having the e-mail trouble with is running PHP v4.3.1, my other account is running v4.3.2. I did not have an e-mail problem running the same version of PHP when running vb 2.3.0 so why am I now? Has the mail functions in VB 3 changed causing a conflict with that version of PHP?

                      Hope this makes sense,
                      Scott Z.
                      sigpic
                      Nation of Blue - Kentucky Wildcats Sports


                      Some CMS Goodness: Add Avatar to Article

                      Comment

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

                        #12
                        As the host said they have found the problem and are fixing it. I don't know what problem they are talking about specifically though since I run PHP 4.3.1 and CPanel on my server and have no email problems with 2.3.0 or 3.0.
                        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

                        • reefland
                          Senior Member
                          • Sep 2000
                          • 1131

                          #13
                          They stated that they build their versions of Apache and PHP with what CPanel provides them and that is the problem. Yeah they are going to fix it eventually though.

                          I am adding this information for folks who may also be experiencing this. Hopefully it will save you hours of troubleshooting time.
                          sigpic
                          Nation of Blue - Kentucky Wildcats Sports


                          Some CMS Goodness: Add Avatar to Article

                          Comment

                          • Floris
                            Senior Member
                            • Dec 2001
                            • 37767

                            #14
                            What do event reminders mean ?
                            Are they supposed to show up in the usercp / in a PM / in email ? and how long before the event takes place do we get this reminder ?

                            Because I can only set one and delete one, but never get any reminders. Nor do I find any options to set how to receive or process reminders, globablly or per user.

                            Comment

                            • Freddie Bingham
                              Former vBulletin Developer
                              • May 2000
                              • 14057
                              • 1.1.x

                              #15
                              The sending of Event reminders hasn't been finalized.

                              Comment

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