Eden email settings

298 views
Skip to first unread message

Maleeha

unread,
Jul 3, 2020, 11:17:24 AM7/3/20
to Sahana-Eden
Dear All,

I have the following settings in models/000_config.py:

settings.mail.server = "smtp.gmail.com:587"
settings.mail.tls = True
settings.mail.login = "my gmail ID:my password"
settings.mail.sender = "'IRSP' <my gmail ID>"

But when I create new user the system prompt something like unable to send email. What i am doing wrong?

I have eden-stable with Postgres, Cherokee on debian.

Regards,
MK

Fran Boon

unread,
Jul 3, 2020, 12:17:42 PM7/3/20
to Sahana Software Foundation
After making the change, did you 'compile prod'?

This is needed for Production systems (/usr/local/bin/compile)

F
> --
> You received this message because you are subscribed to the Google Groups "Sahana-Eden" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sahana-eden...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sahana-eden/a954c5e6-0fcd-4079-a57b-a182de91539fo%40googlegroups.com.

Maleeha Khan

unread,
Jul 3, 2020, 2:06:09 PM7/3/20
to sahan...@googlegroups.com

Fran Boon

unread,
Jul 3, 2020, 4:33:17 PM7/3/20
to Sahana Software Foundation
Is that gmail account set to allow legacy apps?
They secured it so by default you can't :/

F
> To view this discussion on the web visit https://groups.google.com/d/msgid/sahana-eden/CAHmv%3DDjTa6YV7%2BwPPqPziTb-HDkGTh_rHSpaL3FAPwWtFKuxQQ%40mail.gmail.com.

Fran Boon

unread,
Jul 3, 2020, 4:33:47 PM7/3/20
to Sahana Software Foundation
Also check if you're Firewalling that port outbound (should be OK, but
you never know)

F

Maleeha Khan

unread,
Jul 4, 2020, 1:07:35 AM7/4/20
to sahan...@googlegroups.com
On Sat, Jul 4, 2020 at 1:33 AM Fran Boon <fr...@sahanafoundation.org> wrote:
Is that gmail account set to allow legacy apps?
They secured it so by default you can't :/

Thanks Fran it was off after turning it on email is working now.
 
Reply all
Reply to author
Forward
0 new messages