Re: how to detect an email ?
by eriam (Beadle) on Feb 06, 2007 at 08:13 UTC
|
Hello
It really depends on your environment.
You can do that:
- on the mail server side (ex: | in postfix config that lead to your script)
- with polling on imap or pop accounts with an appropriate client (PoCo::Client::POP3 or Net::IMAP::Simple)
- by parsing your Outlook inbox with Win32::OLE (what makes me think you are using Outlook ?)
- by using WWW::Mechanize or WWW::Hotmail or WWW::GMail eventually to read emails thru webmails
all this untested (except Net::IMAP::Simple actually that I've been using to pull emails from imap mailboxes once in a while).
good luck and should you need clarifications please be more detailled in youre requirements
| [reply] |
Re: how to detect an email ?
by holli (Abbot) on Feb 06, 2007 at 10:42 UTC
|
Hey jesuashok, you shouldn't include your sig when you want to post anonymously :-D
| [reply] |
|
|
I, for one, have no idea what "keep pouring your ideas" means, but I do know that it is a signal to ignore everything above it.
What do you mean, this post is evidence that I don't?
| [reply] |
|
|
I, for one, have no idea what "keep pouring your ideas" means, but I do know that it is a signal to ignore everything above it.
You made me curious: I had never thought about this possibility, but I wondered whether it may be a topic phrase in the idiom of some circles' jargon. A google search seems to exclude it. If you exclude jesuashok and perlmonks from the search, you only get a bunch of results in which the phrase is used incidentally.
| [reply] |
A reply falls below the community's threshold of quality. You may see it by logging in. |
Re: how to detect an email ?
by herveus (Prior) on Feb 06, 2007 at 12:27 UTC
|
Howdy!
Gee. What have *you* tried? Help us out here.
The only thing I have to pour right now is in a boot, and I can pour it
just fine even without the directions on the heel.
| [reply] |
Re: how to detect an email ?
by DrHyde (Prior) on Feb 06, 2007 at 10:18 UTC
|
I want to fire one script , after detecting mail from respective people
1. Read the procmail manpage
then how to writ escript for this.
2. Read the vi manpage
If that doesn't work, ask your sysadmin to install them, and then GOTO 1.
| [reply] |
Re: how to detect an email ?
by Anonymous Monk on Feb 06, 2007 at 08:20 UTC
|
What kind of OS does your toaster run on? | [reply] |
Re: how to detect an email ?
by rhesa (Vicar) on Feb 09, 2007 at 22:25 UTC
|
See Email::Filter and cohorts. It's very simple to write extensive mail filters with it. | [reply] |