Seekingsolution Posted July 2, 2009 Share Posted July 2, 2009 Hi all, I am at wits end in trying to find a solution. Here is what I am trying to achieve: We use procmail to handle our mail. I would like to create an autoresponder (with a difference) on a email account called support. If anyone sends a mail to support they must automatically recieve a mail that contains a sequential numeric number in the Subject line. The body of the autoresponse will always remain the same, but should person A send a mail to support the must get something like "Thank you for your mail, your number is 101". The number must increase numerically for every mail received and cannot ever be the same. Is this possible to do? The autoresponder will be set to reply to the sender with his number and this same mail must be sent to one of our other accounts as a reference. Any help or guidance will be greatly appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/164487-help-with-procmail-and-specialised-autoresponder/ Share on other sites More sharing options...
steviewdr Posted July 3, 2009 Share Posted July 3, 2009 :0 c * ^From: .*@*.* | formail -x From: | mail subject... Something along the lines of above. Use formail to get the From address and pipe it off to a script which will reply via an email. I'm sure there are loads of reciepies for autoresponders and procmail out there. -steve Quote Link to comment https://forums.phpfreaks.com/topic/164487-help-with-procmail-and-specialised-autoresponder/#findComment-868423 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.