Jump to content

Email Script


adam84

Recommended Posts

Of course it can be done. You'll more than likely want to write a script that checks your ~/.mailbox directory for new mail, then (depending on what exactly you mean by process) do whatever needs to be done when it finds one.

 

You'll likely want to run the script via a cronjob every few minutes.

Link to comment
Share on other sites

Of course it can be done. You'll more than likely want to write a script that checks your ~/.mailbox directory for new mail, then (depending on what exactly you mean by process) do whatever needs to be done when it finds one.

 

You'll likely want to run the script via a cronjob every few minutes.

 

Agreed, but adding on to that...  you should also have the script check the mailbox when you log in to view your email. - Just in case an email came in a few seconds ago and the script wasn't activated yet...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.