I have installed Beta 4 and just like in beta 3, emails are not send out untill I browse the board.
Announcement
Collapse
No announcement yet.
Beta 4 - still no emails sent out
Collapse
X
-
Tags: None
-
Originally posted by freddieWell, yes, that is the way it works. We just added more pages that will fire the emails.
Comment
-
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'
");
}
PHP Code:mail($toemail, $subject, $message, trim($headers));
Last edited by Freddie Bingham; Sat 28 Jun '03, 3:06am.
Comment
-
Thanks Freddie, that fixed the problem now. I wasn't advertising my forums anywhere yet because of this, now I can!
Comment
-
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.
Comment
-
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
-
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.
Comment
-
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
-
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.
Comment
-
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
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment