Sunday, April 20, 2014

Exception Value: (502, 'Error: command "EHLO" not implemented')

Hi

Im using django send mail and here is my view code .

def send(request):
    send_mail('subject', 'message, 'mymail@gmail.com', ['mymail@gmail.com'], fail_silently=False)

and I got thie error :

Traceback:

  110.             self.connection.sendmail(from_email, recipients, message.as_bytes())
File "/usr/lib/python2.7/smtplib.py" in sendmail
  710.         self.ehlo_or_helo_if_needed()
File "/usr/lib/python2.7/smtplib.py" in ehlo_or_helo_if_needed
  537.                     raise SMTPHeloError(code, resp)

Exception Type: SMTPHeloError at /user/send/
Exception Value: (502, 'Error: command "EHLO" not implemented')

if anyboy can help :(

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6d67f44e-1f31-4c64-a5a4-0ca9a8516af1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment