Re: send email using django

2017-08-30 Thread Antonis Christofides
Hello, I've found it hard to make the free Gmail account work as a smarthost. I think Google doesn't like it and doesn't support it, so even if you get it to work, next month it may break. I'm using a paid email account at runbox.com, but I believe there is a huge number of alternatives. For

Re: send email using django

2017-08-30 Thread Andréas Kühne
Hi, First make sure that the settings for google smtp server sending are correct. See https://stackoverflow.com/questions/32301868/django-sending-email-with-google-smtp for an example. There you can also see a setting called "Allow access to less secure apps". This is an issue even when using

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

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

Re: send email with django

2017-04-19 Thread sum abiut
>>>>> SERVER_EMAIL = 'myn...@mypaid-gmail.com' >>>>> ADMINS = [('MyWebServer', 'myn...@mypaid-gmail.com'),] >>>>> >>>>> EMAIL_USE_TLS = True >>>>> EMAIL_HOST = 'smtp-relay.gmail.com' >>>>> EMAIL_PORT = 587 >

Re: send email with django

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

Re: send email with django

2017-04-19 Thread sum abiut
l.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

Re: send email with django

2017-04-19 Thread shahab emami
>> 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! >> >&g

Re: send email with django

2017-04-19 Thread Thiago Luiz Parolin
> > 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.com' > > Hope this helps! > > Or

Re: send email with django

2017-04-19 Thread Carl
= '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 Subject: Re: send email with django Local Time: April 19, 2017 7:00 AM

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:

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-19 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