Skip to content

Commit

Permalink
Merge branch 'hotfix/fix-password-variable'
Browse files Browse the repository at this point in the history
  • Loading branch information
sulthonzh committed Aug 21, 2019
2 parents 5ce748d + 22327c1 commit 1ccb57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spidermon/contrib/actions/email/smtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def send_message(self, message):

server = smtplib.SMTP(self.smtp_host, self.smtp_port)
server.starttls()
server.login(self.smtp_user, self.smtp_pass)
server.login(self.smtp_user, self.smtp_password)
text = message.as_string()
server.sendmail(self.sender, self.to, text)
server.quit()

0 comments on commit 1ccb57e

Please sign in to comment.