Question:
How to get the domain name from email in a batch?
itguy
2006-09-25 02:04:10 UTC
Hi all,

I am the IT administrator of a company. We are getting loads of junk emails. And I have to get the domain name of each email it is coming from and then block them separately. Every day I end up blocking 100's of email, going through each of them individually and get the domain name. Is there is any small piece of program that I can run on the spam emails just to get the domain name and put them together in a txt or xls file. In this way my job will be much more easier.

Or any other ideas to deal with the junk emails.

Thanks in advance.
Three answers:
funky_dude
2006-09-25 02:36:21 UTC
if u want the code specifically in batch goto this URL

http://www.infionline.net/~wtnewton/batch/batchfaq.html



but i wud recommend u use java script for this purpose

I think the following page gives u the entire code to check the headers of an email



http://www.perlscriptsjavascripts.com/js/check_email.html
wardwell
2016-10-01 12:22:52 UTC
You cant end them they are like Jehovas Witnesses, they on no account end.. while you're making use of yahoo mail, you could click on unsolicited mail each and every time you get one. which will block the ip the subsequent time and delete the message.. yet they shop changing ip's... finally it gets extra effective.. in the journey that your making use of yet another mail application, seek for info on the thank you to dam ips' in spite of you do dont write them a bad letter. That purely confirms your e mail is valid and it will grow to be the Soccers Apprentice in fantasia, with further and extra brooms coming.
2006-09-25 02:12:53 UTC
What platform? What language?



Rawlyn.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...