- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 67 guest(s) and 2 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - How can I turn off member notifications. [ ]
Author
Message
StarHopper
Nuke Cadet
Joined: Jan 05, 2004
Posts: 3
Posted:
Tue Sep 21, 2004 6:11 am
AOL has accused my site of spamming. However the only
e-mail sent out to members are notifications for there PMs
and Posts. My server provider has issued a warning to me
that this must stop are else. How can I disable this features
for all members?
I am running PHPnuke 6.9
Thank you for any help here.
dezina
Support Mod
Joined: Jun 09, 2003
Posts: 1713
Location: England
Posted:
Tue Sep 21, 2004 7:29 am
madman
Support Mod
Joined: Feb 15, 2004
Posts: 806
Posted:
Tue Sep 21, 2004 8:25 am
To stop mail notification for forum watched topics or PM, open "includes/emailer.php" and find this code (around line 242):
Code:
$result = smtpmail($to, $this->subject, $this->msg, $this->extra_headers);
replace with:
Code:
$result = true; // $result = smtpmail($to, $this->subject, $this->msg, $this->extra_headers);
Find this code (around line 248):
Code:
$result = @mail($to, $this->subject, preg_replace("#(?<!\r)\n#s", "\n", $this->msg), $this->extra_headers);
Replace with:
Code:
$result = true; // $result = @mail($to, $this->subject, preg_replace("#(?<!\r)\n#s", "\n", $this->msg), $this->extra_headers);
Find this code (around line 263):
Code:
$result = @mail($to, $this->subject, preg_replace("#(?<!\r)\n#s", "\n", $this->msg), $this->extra_headers);
Replace with:
Code:
$result = true; // $result = @mail($to, $this->subject, preg_replace("#(?<!\r)\n#s", "\n", $this->msg), $this->extra_headers);
_________________I'm
f0xh0und
Nuke Cadet
Joined: Oct 23, 2004
Posts: 3
Posted:
Fri Oct 22, 2004 8:52 pm
Go Rainbow Brite yourself!
_________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum