On 5/21/13 1:50 PM, motty cruz wrote:

> any suggestions?

Before you go any further, you should read RFC 3834, "Recommendations
for Automatic Responses to Electronic Mail":

 http://tools.ietf.org/html/rfc3834

... particularly section 2, which begins (with admirable directness) "An
automatic responder MUST NOT blindly send a response for every message
received."

If you don't consider those recommendations, your script -- if you get
it working -- will do things you won't like.

As an example: what would your script do if it ever received a message
claiming to be from its own "From" address (because you sent yourself a
message, or because a spammer forged your own address)? It appears that
it would send itself an infinite loop of "On vacation" messages.

There are other subtle problems that are difficult to explain here, some
of which will cause you to annoy other people on the Internet, not just
yourself.

This is why people with experience are telling you to use existing
software that already takes all of this into account, instead of helping
you do something that's universally recognized as unwise.

-- 
Robert L Mathews, Tiger Technologies, http://www.tigertech.net/

Reply via email to