Re: send email with django

2017-04-20 Thread Christian Ledermann
try https://www.mailgun.com if you don't want to host your own smtp server On 20 April 2017 at 09:57, Antonis Christofides wrote: > You might also want to read this article of mine, which might give you lots > of ideas about what could be wrong: Why does Django not email me the 500 > internal ser

Re: send email with django

2017-04-20 Thread Antonis Christofides
You might also want to read this article of mine, which might give you lots of ideas about what could be wrong: Why does Django not email me the 500 internal server error? Regards, A. Antonis Ch

Re: send email with django

2017-04-19 Thread sum abiut
a/answer/2956491?hl=en >>>>> >>>>> In terms of Django, our settings.py file has the following relevant >>>>> settings: >>>>> >>>>> # To have error messages auto-sent via email: >>>>> SERVER_EMAIL = 'myn

Re: send email with django

2017-04-19 Thread shahab emami
' >>>> ADMINS = [('MyWebServer', 'myn...@mypaid-gmail.com'),] >>>> >>>> EMAIL_USE_TLS = True >>>> EMAIL_HOST = 'smtp-relay.gmail.com' >>>> EMAIL_PORT = 587 >>>> EMAIL_HOST_USER = '' >&g

Re: send email with django

2017-04-19 Thread sum abiut
or messages auto-sent via email: >>> SERVER_EMAIL = 'myn...@mypaid-gmail.com' >>> ADMINS = [('MyWebServer', 'myn...@mypaid-gmail.com'),] >>> >>> EMAIL_USE_TLS = True >>> EMAIL_HOST = 'smtp-relay.gmail.com' >>> EMAIL_

Re: send email with django

2017-04-19 Thread shahab emami
USE_TLS = True >> EMAIL_HOST = 'smtp-relay.gmail.com' >> EMAIL_PORT = 587 >> EMAIL_HOST_USER = '' >> EMAIL_HOST_PASSWORD = '' >> DEFAULT_FROM_EMAIL = 'myn...@mypaid-gmail.com ' >> DEFAULT_TO_EMAIL = 'myn...@mypaid-gmail

Re: send email with django

2017-04-19 Thread Thiago Luiz Parolin
x27;),] > > EMAIL_USE_TLS = True > EMAIL_HOST = 'smtp-relay.gmail.com' > EMAIL_PORT = 587 > EMAIL_HOST_USER = '' > EMAIL_HOST_PASSWORD = '' > DEFAULT_FROM_EMAIL = 'myn...@mypaid-gmail.com' > DEFAULT_TO_EMAIL = 'myn...@mypaid-gmail.c

Re: send email with django

2017-04-19 Thread Carl
MAIL_USE_TLS = True EMAIL_HOST = 'smtp-relay.gmail.com' EMAIL_PORT = 587 EMAIL_HOST_USER = '' EMAIL_HOST_PASSWORD = '' DEFAULT_FROM_EMAIL = 'myn...@mypaid-gmail.com' DEFAULT_TO_EMAIL = 'myn...@mypaid-gmail.com' Hope this helps! Original Message

Re: send email with django

2017-04-19 Thread shahab emami
i have seen a few tutorial that use Gmail account for sending email. like this: http://stackoverflow.com/questions/31324005/django-1-8-sending-mail-using-gmail-smtp https://www.youtube.com/watch?v=51mmqf5a0Ss and more. but tried with yahoo email too . then i changed my settings.py to this: EMAI

Re: send email with django

2017-04-19 Thread Jani Tiainen
Also, don't fail silently it would be helpful to see actual error that happens... On 19.04.2017 00:25, shahab emami wrote: hello i want to send email using django. i used to send email with pour python before but now i can't do that in django. i have search about this and i have seen some

Re: send email with django

2017-04-19 Thread Jani Tiainen
Have you enabled app in Google mail account? You can do that through url https://accounts.google.com/DisplayUnlockCaptcha On 19.04.2017 00:25, shahab emami wrote: hello i want to send email using django. i used to send email with pour python before but now i can't do that in django. i have

Re: send email with django

2017-04-18 Thread Antonis Christofides
Hi, I may be mistaken, but I think it's not possible to use Gmail as a smarthost if all you have is a free account, and even if it is possible, it is hard to setup. Better try another email provider or with a paid account. Regards, A. Antonis Christofides http://djangodeployment.com On 2017-04