Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Email Extractor
February 11, 2007, 9:05 am
rate this thread
I have a question about email.
First of all before I begin - let me just let you know - I need help
locating an emil program - but not for spam purposes. Spammers
make me sick! I don't even post my site in newsgroups - not
even in signature form.
I have a rather large site - it's a link directory - which contains
to cool sites. I have so many links - almost 2,000!
So, from time to time - I need to email many, but not all of my posted
webmasters and request a link back and for other reasons. But this is
daunting task. Have you ever tried to email hundreds and hundreds of
one at a time. It's just too time consuming!
So, I purchased a program called mailthem pro - to aid me in this
a great program!
I also went to a free utility site that allows you to extract just the
from any page. You type in your desired page - and it extracts all
from that page! That's just what I need! Cause then - all I have to
do is ----
get an email utility that extracts just the emails from a list of urls
- and paste
those emails into my mailthem pro program - and I can email all of my
webmasters at once with a linkback request - instead of doing it
manually - 1
at a time. That would take ages!
Also - I often have to email the webmasters for whom I have linked to
with updates - I just can not do this manually any longer!
But, the only major problem I am having right now is ---- I can not
program that extracts emails from a single list of urls. I know
there - I use to use one. Now I forgot where I got it from!
Do any of you out there know of a program that extracts mails from a
list of urls? I have about 10 individual text files - all containing
link urls from
my site. I got this using that free utility site that allows you to
the HREF url's from any page.
Now I am in dire need of a program that can extract the emails from
individual text files!!! lol
- Chris F.A. Johnson
February 11, 2007, 9:27 am
Re: Email Extractor
On 2007-02-11, paris wrote:
The following shell script (OTTOMH and untested) should extract
mail addresses from <a href="mailto: tags in FILENAME:
sed -e 's/</\
</g' -e 's/>/>\
/g' FILENAME | grep -i "<a *href=\"mailto:" | cut -d\" -f2
Chris F.A. Johnson <http://cfaj.freeshell.org
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)