Jump to content

Recommended Posts

Posted

HI, I was wondering if there is any script that would do the following:

 

Check for incoming email, every 5 hours for instance, auto reply to emails based on keywords in the subject and body.

 

Example

 

I received an email to my@mailaccount.com

A filter is triggered by a keyword in the subject and replies to that email with a custom email from my@mailaccount.com, then, another filter is triggered by a keyword in the message body and moves the received email to a specific folder and marks it as seen.

 

This is basically what OE is doing when my computer is online and I'm away, I set a specific amount of time to check incoming emails and if any is received that falls into the filters settings the sender gets an autoresponder message. The problem is that soon I wont be able to be online with my pc for few months but I need an webmail client to keep doing this task form me.

 

The key point here is to have keywords to trigger the autoresponse.

 

I didn't find such features in horde or squirrelmail, and the autoresponder in cpanel I think wont suffice my needs.

 

Any help would be greatly appreciated.

 

Thanks in advance.

 

PhGroove

 

-

-

Posted

Hi,

 

I would go about this one of 2 ways.

 

1. Use the filters in cpanel to filter emails into different boxes, depending on those keywords. Then set up an autoresponder for those email accounts.

 

or

 

2. Pipe the emails to a script, and then use that script to check for the keywords and autorespond.

Posted
Hi,

 

I would go about this one of 2 ways.

 

1. Use the filters in cpanel to filter emails into different boxes, depending on those keywords. Then set up an autoresponder for those email accounts.

 

or

 

2. Pipe the emails to a script, and then use that script to check for the keywords and autorespond.

 

I was playing with #1, and partially covers my needs, I was able to filter some test emails and the autoresponder replied to the sender with my custom message, but seems that the autoresponder would reply to any email received to that account and not only the one "moved" by the filter, am I right?

Also I think this way I wont be able to sort those emails inside one account, in different directory, but instead accross different accounts.

 

#2 would be the best option, but I can't find a script that fits my case, the one I found (hotscripts.com) do what I need but requires the sender to email me from a website form not from their favorite email clients. I'm sure I'm missing the right script in my search.

 

I keep my hopes high

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...