HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Autoresponder with attachment? (http://www.howtoforge.com/forums/showthread.php?t=9137)

hairydog2 16th December 2006 22:55

Autoresponder with attachment?
 
I'd like to set up an autoresponder that sends out a short email with an html file as an attachment, preferably responding to any particular address no more than once every day or two, but definitely more than one time each.

Is this easy (or even possible) to set up?

till 17th December 2006 12:40

I guess you will havt to write a new autoresponder procmail.rc for this. Or you create a cronjob that deletes the cache file of the autoresponder every day, that stores the addresses where an message has been sent to.

To make a mail with attachment, you can try to create multipart mime message and use the source as autoresponder text. Or you modify the autoresponder procmailrc to use another script or command to send a mail with attachment.

hairydog2 17th December 2006 12:58

Quote:

Originally Posted by till
...write a new autoresponder procmail.rc for this. Or you create a cronjob that deletes the cache file of the autoresponder every day

I think the second sounds more easy!

Quote:

Originally Posted by till
To make a mail with attachment, you can try to create multipart mime message and use the source as autoresponder

That sounds like the best approach. I never use HTML in email, so it's all new to me.

Thanks for your help.


All times are GMT +2. The time now is 18:57.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.