I have been looking around and found no solution for this issue.
Let say our server sends an email out to a user that has a “out of office” , “on vacation” , “to busy” etc.
This message will be sent back to our server and parsed once again, sending out another email, hence creating a big loop.
Other than directly checking for “out of office”, “on vacation” “to busy” messages is there another way using the IMAP PHP commands ?
Thank you fro any responses!
If you aren’t bothered about handling replies, then as Marc B suggests, you can change your reply-to address.
However, it is quite a common feature for helpdesk systems to handle replies and then link them to the existing ticket. In the case of an autoresponse and a support ticket, it will let your support staff know that a) the customer has received your message; b) any special information or instructions from the customer’s autoresponder.
For general messages, it allows your customers the basic convenience of being able to contact you via a reply.
It takes more effort, but if you have the flexibility to achieve it, you can apply one or more of the options discussed in Which headers are ALWAYS returned in a reply/forward? – in this case, it would be particularly useful to have a disposable email address, which links the autoresponse to the appropriate helpdesk ticket.