rails sendgrid send email in schedule time -
i using sendgrid sent email in ror application. uncertainty can compose email , email must deliver user in particular schedule time, given user @ time of compose.
for eg.
from : xxxx@gmail.com
to : yyyy@gmail.com
subject : hi
message : how ?
msg deliver time : 05-11-2014 7.30 pm
is alternative in sendgrid (or) want store details in db , utilize cronjob solution ?
thanks in advance
if window under 24 hours, can utilize sendgrid's smtp-api scheduling parameters. supply unix timestamp when email delivered.
from docs:
{ "send_at": 1409348513 }
if window exceeds 24 hours, worker / cron best solution.
ruby-on-rails email schedule sendgrid
No comments:
Post a Comment