I receive the email notificaction instantly(VTiger doesn't wait for the date to arrive to send it) - vtiger

When I create a ToDo(or an event), and activate the "Send Notification" box, and set a future date for it to begin(for example in two days), I receive the email notification instantly(VTiger doesn't wait for the date to arrive to send it).
I've tried to find answers by myself and online, but I haven't been able to solve it. Mi cron is working OK, and I have my correct timezone configured in config.inc.php.
I'm using Vtiger CRM 6.2.0.
Do you have any idea of why this is happening, or what can I do to find out or solve it?
Thanks for your time!

It seems that this is the correct way in which VTiger works. Send notification tells the user that a ToDo was created and assigned to him.
Im not sure how can I email a user when a task is due.

Related

Is it possible to automatically send cfmail on a date

I built a form for a nonprofit where vendors can apply for a spot at a fundraiser. Once approved, an email is sent to them with a bill and a due date to mail in a check. It all works great! :)
What I'd like to do now is AUTOMATICALLY send them a reminder email if the due date has passed without payment.
Is it possible to trigger cfmail to do this in cold fusion? I've searched all over but can't find anything that even comes close.
The same code you develop that detects "Oh, it's been 10 days past the due date" (likely with a scheduled task to query for unpaid invoices where today-date > 10 or whatever), would send the email based on the results.
You'll need a scheduled task to check at least once a day, and issue emails as appropriate. I'm not entirely sure how you would "know" the date has passed and they haven't paid... If that's with Coldfusion, send the email at detection time. Also log, somewhere, that you've sent the late notice, so you don't send it every day thereafter! You might want 30,60,90 emails, then some form of disabling of account afterwards.

How can I know whether user clicked on notification or not?

my tried wayI am trying to know when i am sending push notification to users they will open the notification or not. i am able to get the number of sent notification or number of successful and failed notification but i am unable to get the user response record.I am using aws sns push notification with fcm
it's easy!
Just put a little code in notification code, when user clicked the notification it gets the value from the database which is 0 when you start sending the notification, and add +1 in it and again store that value in the database.
This is the simple way you can check how many people open your notification.
Regards,
Sameer Rehman

Django: Send reminder email

my app has list of events with start time (date and time). I want to make a scheduled task to send reminder via email to all user participate in event 1 hour before event start. (Note: Admin can change time of event).
I currently use celery to send email to list of participants when admin change the time of event.
Please suggest me some solution for this. Thanks.
Here's a recent(ish) discussion where a potential solution is proposed for celery: https://github.com/celery/celery/issues/4522.
I built Posthook to make solving these kinds of problems easier for developers. In your case, when a new event is created or the event time changes you can schedule a request back to your app for 1 hour before the start time. Then when you get the request from Posthook you can send out the reminder after validating that it still needs to be sent out.

Google Admin SDK user push notifications and renaming of users

I want to ask about the situation that is related to the renaming of a user by an administrator. It can take up to 10 minutes (from the disclaimer) to get user's name changed, but the notification about update event is sent immediately. There is no way to understand whether user's data is changed or not at the moment when notification is received. The only way to process it correctly is to delay processing by 10 minutes which is not good for me.
Is there something that I've missed to handle this? Otherwise it is quite useless API.

Time Based Reminder Email in Django

I want incorporate a timed based reminder email of the events for the day in django. Basically I have a model which has all the events (including the date of the event). I want to send emails to concerned people at around 8.00 AM in the morning of each day about the events for the day. How do I incorporate this is django?
Thanks
I reckon a custom management command to send the alerts, commanded by django-chronograph should do the trick
I wrote a database-backed email queue, to send out emails from a single django install and not have to worry about SMTP throttling and whatnot. It's dead simple -- one model class for the email with a sendit() method, and a command-line script to flush the queue, which I run with cron.
http://gist.github.com/629663