[Mimedefang] action_notify
Chris Masters
rotis23 at yahoo.com
Fri May 23 04:42:01 EDT 2003
OK, I know this is a bit of a hack. But still...
sub action_notify_user($$$)
{
my ($addr,$mess,$sub) = @_;
system("echo \"$mess\" | mail $addr -s
"$sub\"");
}
Where $addr is the email address, $mess is the message
body and $sub is the subject. This is NOT fully
tested. Any comments, amendments?
Chris Masters
--- Chris Masters <rotis23 at yahoo.com> wrote:
> Hi, thanks for previous responses.
>
> I have a requirement to quarantine mail to another
> server, which I have done using the add_recipient
> and
> delete_recipient functions.
>
> I also have a requirement to notify the original
> recipient(s) and other admin mail addresses of this
> quarantining with only the subject and an
> explaination. Is there an easy way to implement a
> function like:
>
> action_notify_user($address,$message)
>
> where $address is an email address and $message is
> the
> message to send.
>
> TIA, Chris Masters
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
>
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
More information about the MIMEDefang
mailing list