Diff for mylist/backend/receiver/response.php between version 1.1 and 1.2
| version 1.1, 2005/04/15 20:40:13 |
version 1.2, 2005/05/05 17:55:38 |
|
|
| function setType($params) |
function setType($params) |
| { |
{ |
| $this->type = $_type; |
$this->type = $_type; |
| $this->body = "Your message has been rejected.\n\n"; |
$this->body = "The message you have sent to mailinglist '".$params['list_name']."' has been rejected.\n\n"; |
| $this->body .= "Reason:\n"; |
$this->body .= "Reason:\n"; |
| |
|
| if ($params['type'] == "MSQ_FILESIZE") |
if ($params['type'] == "MSQ_FILESIZE") |
| Line 35 class CResponse { |
|
| Line 35 class CResponse { |
|
| |
|
| function send($to) |
function send($to) |
| { |
{ |
| global $reject_response; |
global $admin_email; |
| $from = "From: ".$reject_response; |
$from = "From: ".$admin_email; |
| @mail($to, "Message rejected", $this->body, $from); |
@mail($to, "Message rejected", $this->body, $from); |
| } |
} |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|