as the sender of mail handler is invalid, fix this use default sender… #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
… address < trapperkeeper@localhost>
ERROR:root:Callback Failed: (501, ': sender address must contain a domain', 'trapperkeeper')
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/trapperkeeper/callbacks.py", line 43, in call
self._call(_args, *_kwargs)
File "build/bdist.linux-x86_64/egg/trapperkeeper/callbacks.py", line 171, in _call
self._send_mail(handler, trap, duplicate)
File "build/bdist.linux-x86_64/egg/trapperkeeper/callbacks.py", line 72, in _send_mail
subject, self.template_env, ctxt)
File "build/bdist.linux-x86_64/egg/trapperkeeper/utils.py", line 127, in send_trap_email
smtp.sendmail(sender, recipients, msg.as_string())
File "/usr/lib/python2.7/smtplib.py", line 731, in sendmail
raise SMTPSenderRefused(code, resp, from_addr)
SMTPSenderRefused: (501, ': sender address must contain a domain', 'trapperkeeper')