
01-19-2008, 07:38 PM
|
|
|
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by meissenation
Is there any way to add the EZBounce header to e-mails which the link is NOT in? I have another product installed: https://vborg.vbsupport.ru/showthread.php?t=138946 which sends an email to the users saying they've been inactive for awhile and telling them to c'mon back and check out the site. I receive a LOT of bounces from that, but alas no link in the header to do anything with.
|
Yes and it's very easy.
- Open remindermail.php
- find:
Code:
$headers .= "To: $username <$email>" . "\r\n";
$headers .= "From: " . $vbulletin->options['bbtitle'] . " Reminder Service <" . $vbulletin->options['webmasteremail'] . ">" . "\r\n";
- below, add:
Code:
// add EZBounce headers
$bounceurl = $vbulletin->options['ezb_admincpurl'] . "/ezbounce.php?u=" . $userid;
$bouncestring = "<a href=\"$bounceurl\" target=\"_blank\">$bounceurl</a>";
$headers .= 'X-EZbouncer: ' . $bouncestring . $delimiter;
You can use the same concept for any other mod which sends emails.
|