SMTPException: SMTP AUTH extension not supported by server.
# email server
EMAIL_HOST = get_from_env('EMAIL_HOST', 'smtp.gmail.com')
EMAIL_PORT = int(get_from_env('EMAIL_PORT', "587"))
EMAIL_HOST_USER = get_from_env('EMAIL_HOST_USER', 'em...@domain.mt.gov.br')
EMAIL_HOST_PASSWORD = get_from_env('EMAIL_HOST_PASSWORD', 'XXXXXXXX)
EMAIL_USE_TLS = True
Alípio Luiz de Souza Silva Coordenador de Tecnologia da Informação Secretaria de Estado de Cultura Esporte e Lazer +55 (65) 3613-0239 / (65) 98424-1233 |
Segue exemplo de configuração (gmail). Sugiro criar uma conta do gmail para testes para garantir que as configurações do helios estão corretas, funcionando com o gmail você pode alterar para as configurações de smtp do seu servidor. mt.gov.brEMAIL_HOST = get_from_env('EMAIL_HOST', 'smtp.gmail.com')EMAIL_PORT = int(get_from_env('EMAIL_PORT', "587"))EMAIL_HOST_USER = get_from_env('EMAIL_HOST_USER', 'xx...@gmail.com')EMAIL_HOST_PASSWORD = get_from_env('EMAIL_HOST_PASSWORD', 'xxxx')EMAIL_USE_TLS = (get_from_env('EMAIL_USE_TLS', '0') == '0')Para funcionar o gmail tive que habilitar o app menos seguro conforme instrução abaixoAtt,Em terça-feira, 17 de agosto de 2021 às 13:02:07 UTC-3, alipi...@secel.mt.gov.br escreveu:Hi there.I'm trying to configure helios to send email but it isn't working.When I try to send email from the system I got the message:SMTPException: SMTP AUTH extension not supported by server.Below is my configurations in settings.py.# email server
EMAIL_HOST = get_from_env('EMAIL_HOST', 'smtp.gmail.com')
EMAIL_PORT = int(get_from_env('EMAIL_PORT', "587"))
EMAIL_HOST_USER = get_from_env('EMAIL_HOST_USER', 'em...@domain.mt.gov.br')
EMAIL_HOST_PASSWORD = get_from_env('EMAIL_HOST_PASSWORD', 'XXXXXXXX)
EMAIL_USE_TLS = TrueWhat is happening?Thanks in advance.
--
--
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/66bc61df-bf97-4ff2-a9c6-8e5de6035850n%40googlegroups.com.