M
Microsoft News Server
I am attempting to write a very simple script to help with my Spam filter.
My Spam filter sends the suspected spam message as an attachement to an
notification email. The problem is that the user can't see who the message
is from very easily (in the terms of the users). I have the messages
redirecting to a Spam folder under each users inbox. I need to parse the
message to extract the senders email address which is put in the body of the
notification email. The email address is contained in the first set of
quotations ("") so I figured this would be easy.
The second step I need to take is to populate a custom field with the
senders email address. The following is a sample of the spam notification:
************* eManager Notification **************
Possible SPAM detected, for info visit http://
Source mailbox: "(e-mail address removed)0.net"
Destination mailbox(es): ""
Policy: Keywords List(no credit card req),Known Spammer Domains(m0.net)
******************* End of message *******************
I guess the immediate question at hand is: how do I parse everything inside
the parenthesis....or am I looking at this from the wrong direction?
My Spam filter sends the suspected spam message as an attachement to an
notification email. The problem is that the user can't see who the message
is from very easily (in the terms of the users). I have the messages
redirecting to a Spam folder under each users inbox. I need to parse the
message to extract the senders email address which is put in the body of the
notification email. The email address is contained in the first set of
quotations ("") so I figured this would be easy.
The second step I need to take is to populate a custom field with the
senders email address. The following is a sample of the spam notification:
************* eManager Notification **************
Possible SPAM detected, for info visit http://
Source mailbox: "(e-mail address removed)0.net"
Destination mailbox(es): ""
Policy: Keywords List(no credit card req),Known Spammer Domains(m0.net)
******************* End of message *******************
I guess the immediate question at hand is: how do I parse everything inside
the parenthesis....or am I looking at this from the wrong direction?