>>
Site Map
>>
Forums
>>
Operation
Forum module - topics in forum:
Operation - Get help on how each part of PHP-NUKE works
editing the Mass Emailer
I am editing it because there are muktiple admins that need to Mass Email and they need their email in the from and reply to section of the mail headers.
First, I put an extra input area for them to type their email address and called it $emailaddress.
I then passed it down to the actual newsletter_send() function like this:
| Code: : |
| function newsletter_send($title, $content, $emailaddress) |
and in the headers I changed it to remove the $adminemail variable to look like this:
| Code: : |
$xheaders = "From: " . $sitename . " <" . $emailaddress . ">\n";
$xheaders .= "X-Sender: <" . $emailaddress . ">\n"; |
Now when the email is sent, the From does not have their email address in there and I know Hotmail tells me that the person cannot be verified or something along that line. Waht am I missing?
Actually, One more thing on this emailer. If members end up being in the thousands, will this thing continue to email every one of them? I have been searching esp Nuke Cops and I haven't found anything that would.
Fixed it, I forgot to add the variable to the switch ($op) statement.
Down to my seccond question.