- Code: Select all
RECV from@fromdomain.com to@todomain.com 2 14 550 <to@todomain.com>: Sender address rejected: Domain not found
It is in the format of:
- Code: Select all
[METHOD] [FROM EMAIL] [TO EMAIL] [VAR1] [VAR2] [VAR TEXT]
I have been trying to build a regular expression; however, I have been severely unsucessful in capturing the end of the string.
I have tried the following regexp that I tried using a testing and works with online regexp testers, but gives **NO MATCH**.
- Code: Select all
RECV [^\s]+\s[^\s]+\s\d+\s\d+\s(.*)$
Thanks for any help.

