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

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/CAG5%3DJHcXEHAiYR%2B6Mr_7DWcb5M_a4jmoeTGnY7RtdbMxKv0S2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to