Re: mail sending

2018-11-22 Thread Joel
django-kronos is probably the easiest to do this. As mentioned, you could
create a management command to check a database or file for the time when
you want to run this, with any other data, then you'd set an interval at
which you want to check if mails need be sent, and then execute your mail
sending function if the criteria is satisfied.

On Thu, 22 Nov, 2018, 8:19 PM Jani Tiainen  Hi.
>
> Essentially you need to record the time you want your mail to be sent and
> then you need some kind of background worker to check (periodically) if
> there are any mails to be sent.
>
> Celery is one tool that can do that.
>
> I personally use simple cron job that uses django management command to
> achieve same stuff (sending emails asynchronously).
>
> Tushar Nadkar  kirjoitti to 22. marrask. 2018
> klo 8.53:
>
>> when a button is clicked , i want to send specific mail after 3 days ?
>> how can i do that in django
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAAHYEvMUPoT%2BivTkPx%2BekvksnVWo%3DiByAt48iQX8m-HjTSQMTw%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHn91ocf3eFL7QMiXj0Mspg4zDCovE0VGaJ8-onEaRdsq02TXA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA%3Diw_-KvAkYrF0hhKfvc_GZo_wueLrTM%2B1kCHXtQvJH8VfjQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: mail sending

2018-11-22 Thread Jani Tiainen
Hi.

Essentially you need to record the time you want your mail to be sent and
then you need some kind of background worker to check (periodically) if
there are any mails to be sent.

Celery is one tool that can do that.

I personally use simple cron job that uses django management command to
achieve same stuff (sending emails asynchronously).

Tushar Nadkar  kirjoitti to 22. marrask. 2018
klo 8.53:

> when a button is clicked , i want to send specific mail after 3 days ? how
> can i do that in django
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAAHYEvMUPoT%2BivTkPx%2BekvksnVWo%3DiByAt48iQX8m-HjTSQMTw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91ocf3eFL7QMiXj0Mspg4zDCovE0VGaJ8-onEaRdsq02TXA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: mail sending

2018-11-22 Thread Hari
Please check below link.It may help you..Basically you need to set up
celery.

https://stackoverflow.com/questions/9982486/django-sending-email-x-days-later

On Thu, Nov 22, 2018, 12:23 PM Tushar Nadkar 
wrote:

> when a button is clicked , i want to send specific mail after 3 days ? how
> can i do that in django
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAAHYEvMUPoT%2BivTkPx%2BekvksnVWo%3DiByAt48iQX8m-HjTSQMTw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMqzjWBkvXi5-RM%3DqNQCF8bBYmUOTJgo0BMaLEkUBwqwa6Gzvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: mail sending

2018-11-21 Thread mazz ahmed
https://stackoverflow.com/questions/28992466/send-weekly-email-notifications-to-users-regarding-any-changes-in-data

On Thu, Nov 22, 2018 at 12:06 PM mazz ahmed  wrote:

> celery is Django package check out that.
>
> On Thu, Nov 22, 2018 at 11:53 AM Tushar Nadkar 
> wrote:
>
>> when a button is clicked , i want to send specific mail after 3 days ?
>> how can i do that in django
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAAHYEvMUPoT%2BivTkPx%2BekvksnVWo%3DiByAt48iQX8m-HjTSQMTw%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABuXbh-30zAd1Amrf%2BOMo_GcnQ9fd%3D%2Bg1jLFcnQfDOvhyGtmvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: mail sending

2018-11-21 Thread mazz ahmed
celery is Django package check out that.

On Thu, Nov 22, 2018 at 11:53 AM Tushar Nadkar 
wrote:

> when a button is clicked , i want to send specific mail after 3 days ? how
> can i do that in django
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAAHYEvMUPoT%2BivTkPx%2BekvksnVWo%3DiByAt48iQX8m-HjTSQMTw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABuXbh-H7CXQmtNwmBhqTpHE1wZRLHpt4y0bufWJOZ9NLPswGg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.