Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts

    arriving email to trigger script?

    Hi,

    I have an email account which gets messages about once every two days. I want to use the arrival of the script in the inBox to trigger a script instead of running a cron job all the time.

    Is this possible or perhaps you know of another way to do this?

    Any pointers would be great.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #2
    Master Coder mlseim's Avatar
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,387
    Thanks
    8
    Thanked 1,077 Times in 1,068 Posts
    Bazz ...

    I've looked into this before, more from a PHP direction:
    http://evolt.org/incoming_mail_and_p...ts_per_page=50

    I think I ended-up stuck because I didn't either have a dedicated (or Virtual) Server,
    and I don't have my server. So, with a shared webhosting account, I couldn't do it.

    But maybe the link above might steer you into some direction (using .forward file)
    Also, read the comments from the users ... some good pointers there?


    .

  • #3
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by bazz View Post
    Hi,

    I have an email account which gets messages about once every two days. I want to use the arrival of the script in the inBox to trigger a script instead of running a cron job all the time.

    Is this possible or perhaps you know of another way to do this?

    Any pointers would be great.

    bazz
    take a look over procmail:

    http://www.procmail.org/

    there are also other mail processors but this what I use,

    best regards

  • #4
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    Thank you both. I'll read up on those links.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •