The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Bounced email handler Details »» | |||||||||||||||||||||||||||
What does the bounced email handler do?
It stops sending emails to addresses that are no longer valid. This helps keep your email from being marked as spam, and helps get your legitimate emails through spam filters as a result. More technically:
Download Now
Show Your Support
|
3 благодарности(ей) от: | ||
puertoblack2003, RichieBoy67, SaN-DeeP |
Comments |
#22
|
|||
|
|||
My experience is that Gmail and Yahoo just send your emails to the Spam folder and don't bother sending any sort of notification. Of course, different email providers can do different things, but this isn't a problem that I have run across.
If it did happen, fixing it is a simple as running the right UPDATE on the table. UPDATE beh_users SET deliverflag = 0 WHERE email like '%@gmail.com'; Or something like that. |
#23
|
|||
|
|||
I used this to send emails to all the "waiting email confirmations" user group. I don't know what I did but I ended up pruning a lot of them. There are now only 44 left in that user group. Half of those though when I click on them, it says "invalid user". I can't figure out how to remove those invalid users from the user group as when I click on "delete" for that user, I get the invalid user screen. How do I remove them for the primary user list in my AdminCP?
|
#24
|
|||
|
|||
Quote:
|
#25
|
|||
|
|||
Is it possible to add a way to auto move a user to a usergroup if their email bounces back?
|
#26
|
|||
|
|||
I can't help you, sorry, but you can edit the code if you want.
|
#27
|
|||
|
|||
I installed this mod but i use mandrill as mailprovider. I enabled an option in mandrill, which sends the bounced mails to a specific address, which works great,
But: The mails, which will be collected by the Bounced-Script via imap are only deleted and not saved to the database. the message text of my bounced mail looks like this: Code:
Hello, this is the mail server on mail135.atl41.mandrillapp.com. I am sending you this message to inform you on the delivery status of a message you previously sent. Immediately below you will find a list of the affected recipients; also attached is a Delivery Status Notification (DSN) report in standard format, as well as the headers of the original message. <user@address.com> delivery failed; will not continue trying Code:
// Try an alternate match if (!preg_match('/^.*@.*$/m', $body, $matches) OR $from['mailbox'] != 'Mailer-Daemon') Thanks alot! //EDIT Got it to work for me. If you get the bounced mail forwarded as shown above, change the code in forum/includes/cron/beh_maillist to this: around line 174 Code:
// Try an alternate match if (!preg_match('/[a-z\d._%+-]+@[a-z\d.-]+\.[a-z]{2,4}\b/i', $body, $matches)) Code:
// Valid bounced email, go! $from = trim($matches[0]); |
#28
|
|||
|
|||
IMPORTANT:
I improved the plugin to do a much better job, but haven't had time to publish it here. Now, I will no longer be using vBulletin, so I'm giving you all the current code, in the hopes that one of you will take over this plugin and create a new version based on it. I suggest testing different things with the code to see what works. You might also want to test the code attached to this post. |
#29
|
|||
|
|||
The following may be useful to someone...
Code:
// TURN OFF ALL EMAIL OPTIONS $adminemail=$vbulletin->bf_misc_useroptions['adminemail']; $showemail=$vbulletin->bf_misc_useroptions['showemail']; $emailonpm=$vbulletin->bf_misc_useroptions['emailonpm']; $receivefriendemailrequest=$vbulletin->bf_misc_useroptions['receivefriendemailrequest']; $vbulletin->db->query_write("UPDATE `user` SET `options` = `options` - $adminemail WHERE `user`.`userid` = $userid AND `user`.`options` & $adminemail"); $vbulletin->db->query_write("UPDATE `user` SET `options` = `options` - $showemail WHERE `user`.`userid` = $userid AND `user`.`options` & $showemail"); $vbulletin->db->query_write("UPDATE `user` SET `options` = `options` - $emailonpm WHERE `user`.`userid` = $userid AND `user`.`options` & $emailonpm"); $vbulletin->db->query_write("UPDATE `user` SET `options` = `options` - $receivefriendemailrequest WHERE `user`.`userid` = $userid AND `user`.`options` & $receivefriendemailrequest"); //TURN OFF MAIL SUBSCRIPTIONS $vbulletin->db->query_write("UPDATE `subscribethread` SET `emailupdate` = '0' WHERE `subscribethread`.`userid` = $userid;"); $vbulletin->db->query_write("UPDATE `subscribegroup` SET `emailupdate` = '0' WHERE `subscribegroup`.`userid` = $userid;"); $vbulletin->db->query_write("UPDATE `subscribeforum` SET `emailupdate` = '0' WHERE `subscribeforum`.`userid` = $userid;"); $vbulletin->db->query_write("UPDATE `subscribediscussion` SET `emailupdate` = '0' WHERE `subscribediscussion`.`userid` = $userid;"); |
#30
|
|||
|
|||
Alternatively (or in addition), the following code will change the usergroup to users awaiting email confirmation.
Code:
$vbulletin->db->query_write("UPDATE `user` SET `usergroupid` = 3 WHERE `userid` = $userid "); ndahiya |
#31
|
||||
|
||||
Sorry but... where could i find the pm text?
The one that starts something like this: "The notification emails that the forum sends you" Greetings |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|