my demo installation in localhost cant upload and process voter list

45 views
Skip to first unread message

Kodondi shadrack

unread,
Jul 20, 2021, 11:06:48 AM7/20/21
to Helios Voting
Hello members, am due to put up a demo for a private election, yet when i try to upload list of voters, the list just doesn't get processed in order for me to send email invitations. Other functionalities are also not available like tracking
Kindly assist


Thanks

Warwick McNaughton

unread,
Jul 20, 2021, 2:01:43 PM7/20/21
to helios...@googlegroups.com
Emails are handled by Django.

Django has various backends:

The default assumes you have a SMTP server on-board and the email settings in settings.py are used.  I have not tried to set up an email server locally and when testing locally I use one of the other backends - in settings.py:

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
EMAIL_BACKEND = 'django.core.mail.backends.locmem.EmailBackend'
EMAIL_BACKEND = ‘django.core.mail.backends.dummy.EmailBackend’

Setting up an email server is fairly complicated - I have given descriptions for doing this when deploying to Heroku or AWS.
https://wrmack.github.io/helios-server-docs/site/deploy_heroku_walkthrough/

If you are using Ubuntu, your version might come with Sendmail built in - I am not sure.  If so, it is then a matter of ensuring the email settings in settings.py match Sendmail’s configuration.

If you have an email server running it can be tested under Django:

python3 manage.py shell >>> from django.core.mail import send_mail >>> send_mail('Subject', 'Message', ’send_email_address', [‘receiver_email_address'])


Warwick



-- 
-- 
Helios Voting Google Group
To post: helios...@googlegroups.com
To unsubscribe: helios-votin...@googlegroups.com
More: http://groups.google.com/group/helios-voting?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Helios Voting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to helios-votin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/helios-voting/519d172d-4d9b-44bf-a94e-d0308a087101n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages