function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NadiaNadia 

scheduling email

Hi,
My requirement is to create a custom button 'Schedule an Email'  that would collect info about when the user wants to send the email and would send it later at the time scpecified. After doing some reasearch, I am not sure this is at all possible. All I can think of is creating a scheduler with Apex that would run every  5 min to check for emails to be sent. But I have doubts about such solution. Could anyone give me any advice?
thank you
sfdcfoxsfdcfox
You can't schedule emails for later delivery at this time using Apex Code.
NadiaNadia
even if I use something like this scheduler?
http://gokubi.com/archives/daily-cron-jobs-with-apex

do you think there is any other way to do that, maybe by using workflow? (Is there a way to control workflow via Apex or s-controls?)
I just need to know if my attempts to do that are actually worth trying, or there is just no way to do it, period.
I really appreciate your help, it can save me hours.
thank you


Message Edited by Nadia on 05-22-2008 01:37 PM