Mail Plugin -- "Not immediate but when public"
Posted: Sun Oct 08, 2006 7:40 am
Hi,
What I want to achieve is as follows:
Whenever a new entry is 'made available' from s9y, it should be sent to an email specified.
I found the 'Mail' plugin however the problem is that it would send an email immediately as one does 'Save'.
Whereas, what I want is that the mail should be sent only when the entry is 'made available' or updated. Specifically, the scenario when I have disabled future entries to be shown immediately but to be shown only when 'that time' arrives.
I know, it is not a trivial job because this requires some kind of a timer that is always in action in background. Probably can be done via a cron job but doesn't suit hostings where the server is not dedicated but shared --- like the case of my hosting.
I am not quite sure if that is achievable directly... or by some tweak?
Cheers,
Gaurav Vaish
http://www.mastergaurav.com
http://www.edujinionline.com
What I want to achieve is as follows:
Whenever a new entry is 'made available' from s9y, it should be sent to an email specified.
I found the 'Mail' plugin however the problem is that it would send an email immediately as one does 'Save'.
Whereas, what I want is that the mail should be sent only when the entry is 'made available' or updated. Specifically, the scenario when I have disabled future entries to be shown immediately but to be shown only when 'that time' arrives.
I know, it is not a trivial job because this requires some kind of a timer that is always in action in background. Probably can be done via a cron job but doesn't suit hostings where the server is not dedicated but shared --- like the case of my hosting.
I am not quite sure if that is achievable directly... or by some tweak?
Cheers,
Gaurav Vaish
http://www.mastergaurav.com
http://www.edujinionline.com