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

42 views
Skip to first unread message

rafiee.nima

unread,
Apr 20, 2014, 12:16:16 PM4/20/14
to django...@googlegroups.com
Hi

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

def send(request):
    send_mail('subject', 'message, 'mym...@gmail.com', ['mym...@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 :(
Reply all
Reply to author
Forward
0 new messages