This might help:
https://dev.to/abderrahmanemustapha/how-to-send-email-with-django-and-gmail-in-production-the-right-way-24ab
On Wed, Mar 3, 2021 at 8:57 PM AMRIT SHAHI wrote:
>
> is that your site backend is fully backend
>
> On Tue, Feb 23, 2021 at 3:51 PM Sergei Sokov wrote:
>>
>> I am trying
is that your site backend is fully backend
On Tue, Feb 23, 2021 at 3:51 PM Sergei Sokov wrote:
> I am trying to send an email when a user fills out a form on my site.
> Everything works on my local server, letters are sent and I am got them.
> On a remote timeweb.com server with the same setting
Django does't send email on the remote server
This code is working
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login('k...@gmail.com', 'pas')
try:
server.sendmail('k...@gmail.com', 's...@gmail.
This code is working
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login('k...@gmail.com', 'pas')
try:
server.sendmail('k...@gmail.com', 's...@gmail.com',
body_mes.encode('utf-8')) print('ok')
except:
print('An error occurred when trying to
i can send email when i use a local server 127.0.0.1:8000 but when i use
pythonanywhere.com or eu.pythonanywhere.com
i can not send mails
Op donderdag 25 februari 2021 om 21:44:53 UTC+1 schreef Mike Dewhirst:
> On 26/02/2021 7:26 am, ule...@gmail.com wrote:
> > Any solution ?
>
> You need a
On 26/02/2021 7:26 am, ule...@gmail.com wrote:
Any solution ?
You need a friendly sysadmin from your mail provider. Nowadays with so
much spam and botnet activity there are many email relay checks and
hurdles to deal with. Your remote server has to be established with your
provider and reco
Any solution ?
Op dinsdag 23 februari 2021 om 18:42:42 UTC+1 schreef ule...@gmail.com:
> I have this same problem when i use smtp = out.telenet.be
> on my local server it works fine but when it use pythonanywhere.com i get
> OSError: [Errno 101] Network is unreachable
>
> Op dinsdag 23 februari
I have this same problem when i use smtp = out.telenet.be
on my local server it works fine but when it use pythonanywhere.com i get
OSError: [Errno 101] Network is unreachable
Op dinsdag 23 februari 2021 om 11:06:09 UTC+1 schreef soko...@gmail.com:
> I am trying to send an email when a user fill
Change
EMAIL_PORT = 465
EMAIL_USE_TLS=False
EMAIL_USE_SSL=True
On your sendmail function set sail_silently=False so that we can see an error
on terminal
On 23 Feb 2021, 14:15 +0300, Sergei Sokov , wrote:
> 'setting.py'
> EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
> EMAIL_HOST_
'setting.py'
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
EMAIL_HOST_USER = "em...@gmail.com"
EMAIL_HOST = "smtp.gmail.com" EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_PASSWORD = "Your_Password"
I have chtcked spam, I have tried different email services
I switched
alse please share the program to have a look on
On Tue, Feb 23, 2021 at 3:57 PM Anubhav Gupta
wrote:
> you should be using app password instead of less secure option
>
> On Tue, Feb 23, 2021 at 3:36 PM Sergei Sokov wrote:
>
>> I am trying to send an email when a user fills out a form on my site
you should be using app password instead of less secure option
On Tue, Feb 23, 2021 at 3:36 PM Sergei Sokov wrote:
> I am trying to send an email when a user fills out a form on my site.
> Everything works on my local server, letters are sent and I am got them.
> On a remote timeweb.com server w
12 matches
Mail list logo