is there the simplest way to do this: logon to my email account and delete bulk emails?

W

walala

Dear all,

I got too many spam email every day...

Is there such a utility/program, or can I do some programming in the
simplest way, to do the following:

1) automatically logon to my mail.yahoo.com account with my account username
and password;

2) click on the "empty bulk email folder" link to empty the folder;
3) then log out the account;

I only know a little programming on Windows, such as VC++, etc. Very little
about Perl. Let me know
if I can write several lines to do the above task, or there is some
automated software to do the task(don't tell me to use macro recorder, those
utility relies on windows position and mouse position, which are stupid and
not very reliable... I have previously recorded some daily actions, but they
always made a mess)

Thanks,

-Walala
 
D

Dave Oswald

walala said:
I got too many spam email every day...

Is there such a utility/program, or can I do some programming in the
simplest way, to do the following:

1) automatically logon to my mail.yahoo.com account with my account username
and password;

2) click on the "empty bulk email folder" link to empty the folder;
3) then log out the account;

I only know a little programming on Windows, such as VC++, etc. Very little
about Perl. Let me know
if I can write several lines to do the above task...

You've misunderstood the charter of this newsgroup.

The c.l.p.m Usenet newsgroup isn't here to provide scripts of various
descriptions to non-programmers. One of the frequent and acceptible
purposes of this group is to answer Perl-specific questions. You haven't
asked one. No, it's not a Perl-specific question to ask, "How do I, with no
programming experience, write a script that does XXX?"

I can, however, offer a few suggestions to get you started, keeping in mind
that learning enough Perl to reliably accomplish your task is no trivial
matter. If you're not committed to learning Perl, you needn't dabble
backstage while there's a play going on.

If you actually want to learn Perl, pick up a copy of the Llama book,
"Learning Perl." Also begin reading through the "plain old documentation"
(PODs) that came with your Perl installation. Then once you've begun
learning Perl, feel free to ask questions here related to Perl, after first
examining the FAQ's.
 
W

walala

Dave Oswald said:
You've misunderstood the charter of this newsgroup.

The c.l.p.m Usenet newsgroup isn't here to provide scripts of various
descriptions to non-programmers. One of the frequent and acceptible
purposes of this group is to answer Perl-specific questions. You haven't
asked one. No, it's not a Perl-specific question to ask, "How do I, with no
programming experience, write a script that does XXX?"

I can, however, offer a few suggestions to get you started, keeping in mind
that learning enough Perl to reliably accomplish your task is no trivial
matter. If you're not committed to learning Perl, you needn't dabble
backstage while there's a play going on.

If you actually want to learn Perl, pick up a copy of the Llama book,
"Learning Perl." Also begin reading through the "plain old documentation"
(PODs) that came with your Perl installation. Then once you've begun
learning Perl, feel free to ask questions here related to Perl, after first
examining the FAQ's.

I don't even have time to combat your opinion.

I just want to say don't learn any language because you want to learn it.

All languages are designed for applications.

One of the purpose of the BBS is that people discuss ideas, and let people
know that "oh, things can be done in this way conviniently and simply"...

Actually that's the purpose of Internet. I believe you have also learned a
lot from the web.

I have urgent need for this application, and I believe Perl can help me and
I am learning through applications. Though my major job is not to combating
bulk email, nor to learn Perl. Actually I work on some other areas.

Let other people appreciate the beauty of Perl, and the beauty of using Perl
to solve practical applications, and appreciate the beauty of helping each
other!

-Walala
 
W

walala

Yevgen Reznichenko said:
Hi,

Am 01.11.2003 15:08 schrieb walala:

If you want delete SWEN's from your account you can take a look here:
http://www.hashref.com/prj/swendeleter/

You can modify the script to solve your problem.



Yevgen

Dear Yevgen,

I've looked into the script and it was a great work. I think it partially
fulfill my need.

One thing is that it works on one kind of spam-email: SWEN. In order to
expand it to other spam emials, a filter needs to be designed and actually
collecting filter "key word" is troublesom work. (actually I am using
MailWasher currently and every day there are 100+ more spam emails with new
keywords than those already in my filter in MailWasher)...

Fortunately Yahoo mail account already has a "bulk-mail" folder, it just
does not empty the folder often. So I just want to delete all spam-emails in
that folder without any interaction, without any hesitance...

Do you have more suggestions?

Thanks a lot,

-Walalal
 
Y

Yevgen Reznichenko

It is here wrong place for communication about spam. Further
communication please via pm.

Am 01.11.2003 20:23 schrieb walala:
Fortunately Yahoo mail account already has a "bulk-mail" folder, it just
does not empty the folder often. So I just want to delete all spam-emails in
that folder without any interaction, without any hesitance...

Do you have more suggestions?

Yes i have, but via pm.
Thanks a lot,

-Walalal


Yevgen
 
M

Mina Naguib

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Fortunately Yahoo mail account already has a "bulk-mail" folder, it just
does not empty the folder often. So I just want to delete all spam-emails in
that folder without any interaction, without any hesitance...

Do you have more suggestions?

When you say "folders" I'm assuming you either mean folders accessible via the IMAP protocol, or
Yahoo's proprietary webmail interface.

If it's the first scenario, use Mail::IMAPClient or Net::IMAP or any other appropriate modules
listed in http://search.cpan.org/search?query=IMAP&mode=all

If it's the second scenario, use WWW::Mechanize to automate a GUI-less web browser that can simulate
anything you (a human) do with a GUI web browser.

Either cases will require you to do some reading and programming to end up with what you need, or
hire a programmer to do it for you.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/pCnReS99pGMif6wRAsizAKDPkuVM6pfi99mBl0IKuQBarHT2kACeIF9f
N1j1aJpdbjP4jHCEQ5bJn5s=
=tlt/
-----END PGP SIGNATURE-----
 
S

Steve Koppelman

walala said:
I got too many spam email every day...

Is there such a utility/program, or can I do some programming in the
simplest way, to do the following:

1) automatically logon to my mail.yahoo.com account with my account username
and password;

2) click on the "empty bulk email folder" link to empty the folder;
3) then log out the account;

I only know a little programming on Windows, such as VC++, etc. Very little
about Perl. Let me know
if I can write several lines to do the above task, or there is some

Fair question. Ignore the trolls here. WWW::Mechanize might be one way
to get there, as someone said.

In general, when you have a question like this, the first place to look
is CPAN, to see if there's a module out there for doing the kinds of
operations you want. Either head over to http://www.cpan.org/ or try a
Google search along the lines of "CPAN yahoo mail".

Which leads us to the Mail::Webmail::Yahoo module from CPAN as
documented here:

http://search.cpan.org/~sdrabble/Mail-Webmail-Yahoo-0.601/Yahoo.pm

Seems like as long as the module still works (and it may not, given the
way Yahoo changes their webmail user interface a bit every few months),
you could indeed get the job done with a few lines of Perl.

<grumble type="minor">
Last I checked, this newsgroup was a perfectly good forum for sketching
out a problem and asking whether there's a well-tested Perl way of
tackling it. Granted, a search of CPAN for "Yahoo" would have turned
this up, but it's not as though CPAN's website and search function are
the friendliest things on earth for newcomers.

Don't forget to take your medication every morning, folks. It may not
have been a particularly juicy CompSci variety question, but it was
about the applicability of Perl to a task and she or he didn't ask the
newsgroup to write their code for her or him.
</grumble>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top