Hi,
I have a table with email addresses list which have been blocked by the users.
When an email comes in I have to run a check against that black listed emails and see if the from address of the email is balck listed or not.
The entries in the table could be like a.b.*@yahoo.com or ab@yahoo.com or any other such combination.
I need some help in designing a query which retrieves all such combinations I am not sure how to write the query to retrieve addresses like a.b.*@yahoo.com or *.a.b@yahoo.com.
Appreciate any help.
Thanks,
Tewari
I have a table with email addresses list which have been blocked by the users.
When an email comes in I have to run a check against that black listed emails and see if the from address of the email is balck listed or not.
The entries in the table could be like a.b.*@yahoo.com or ab@yahoo.com or any other such combination.
I need some help in designing a query which retrieves all such combinations I am not sure how to write the query to retrieve addresses like a.b.*@yahoo.com or *.a.b@yahoo.com.
Appreciate any help.
Thanks,
Tewari