smtp email configuration error

68 views
Skip to first unread message

Ruhia gr

unread,
Jun 22, 2018, 12:58:32 PM6/22/18
to django...@googlegroups.com
when am trying to submit my contact form i am getting error please will anyone try to solve this and tell me whats is wrong here and what i actually missed out 

given below 


Internal Server Error: /contact/
Traceback (most recent call last):
  File "C:\Users\user\Envs\ibex\lib\site-packages\django\core\handlers\exception
.py", line 41, in inner
    response = get_response(request)
  File "C:\Users\user\Envs\ibex\lib\site-packages\django\core\handlers\base.py",
 line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "C:\Users\user\Envs\ibex\lib\site-packages\django\core\handlers\base.py",
 line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "C:\Users\user\Desktop\project\djangoproject\ibex\website\views.py", line
 50, in contact
    email.send()
  File "C:\Users\user\Envs\ibex\lib\site-packages\django\core\mail\message.py",
line 348, in send
    return self.get_connection(fail_silently).send_messages([self])
  File "C:\Users\user\Envs\ibex\lib\site-packages\django\core\mail\backends\smtp
.py", line 111, in send_messages
    sent = self._send(message)
  File "C:\Users\user\Envs\ibex\lib\site-packages\django\core\mail\backends\smtp
.py", line 127, in _send
    self.connection.sendmail(from_email, recipients, message.as_bytes(linesep='\
r\n'))
  File "c:\python27\Lib\smtplib.py", line 736, in sendmail
    raise SMTPSenderRefused(code, resp, from_addr)
SMTPSenderRefused: (501, '<Your>: sender address must contain a domain', u'Your'
)
[22/Jun/2018 22:05:14] "POST /contact/ HTTP/1.1" 500 85991


Jason

unread,
Jun 22, 2018, 1:55:55 PM6/22/18
to Django users

Ruhia gr

unread,
Jun 23, 2018, 2:18:34 PM6/23/18
to django...@googlegroups.com
am having below error now can anyone help me with this 
[23/Jun/2018 05:59:32] "GET /contact/ HTTP/1.1" 200 11440
Not Found: /contact/contactform/contactform.js
[23/Jun/2018 05:59:34] "GET /contact/contactform/contactform.js HTTP/1.1" 404 16
637
Not Found: /contact/contactform/contactform.js
[23/Jun/2018 05:59:37] "GET /contact/contactform/contactform.js HTTP/1.1" 404 16
637


On Fri, Jun 22, 2018 at 11:25 PM, Jason <jjohn...@gmail.com> wrote:
SMTPSenderRefused: (501, '<Your>: sender address must contain a domain', u'Your'

--
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...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c927c3ab-30c9-420b-bd9e-e54beb54ae93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages