Skip to content

Conversation

@cbrownstein
Copy link
Contributor

This PR resumes the work done in #29

I've performed some testing (the new option seems to work) but I'd like to test more before I recommend that this PR be merged. Help testing would be appreciated! 😃

@jaymzh
Copy link
Owner

jaymzh commented Sep 10, 2018

Thanks for picking up this can you rebase so only your commits are in the PR please?

@jaymzh
Copy link
Owner

jaymzh commented Sep 21, 2018

Ping?

@jaymzh jaymzh self-assigned this Sep 21, 2018
@jaymzh jaymzh added the waitingonsubmitter Waiting on the sbumitter label Sep 21, 2018
@cbrownstein
Copy link
Contributor Author

Thanks for picking up this can you rebase so only your commits are in the PR please?

Done!

Copy link
Owner

@jaymzh jaymzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The README still needs to give a sample command for sending these.

os.mkdir(self.local_mail_dir)
if not self.address_override:
msg['Bcc'] = self.mail
email = open(os.path.join(self.local_mail_dir, msg['To']), 'w')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with open(os.path.join(self.local_mail_dir, msg['To']), 'w') as email:
  email.write(str(msg))

# Don't want to send auth information unless we're TLS'd
if self.user:
smtp.login(self.user, self.password)
if self.address_override:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is no longer needed, you do it above.

smtp.login(self.user, self.password)
if self.address_override:
env_to = self.address_override
else:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

@jaymzh
Copy link
Owner

jaymzh commented Mar 23, 2022

ping @cbrownstein

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waitingonsubmitter Waiting on the sbumitter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants