mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-24 13:33:04 +00:00
New to github...Fixed issues with hotmail and Yahoo email providers. Current issue - Gmail does not work properly.
This commit is contained in:
parent
a78ee17ef4
commit
9611eb13e5
1 changed files with 4 additions and 4 deletions
|
@ -86,13 +86,13 @@ for line in sendmail_file:
|
|||
if email_provider == "yahoo":
|
||||
if sendmail == 0:
|
||||
smtp = ("smtp.mail.yahoo.com")
|
||||
port = ("25")
|
||||
port = ("587")
|
||||
|
||||
# support smtp for hotmail
|
||||
if email_provider == "hotmail":
|
||||
if sendmail == 0:
|
||||
smtp = ("smtp.hotmail.com")
|
||||
port = ("25")
|
||||
smtp = ("smtp.live.com")
|
||||
port = ("587")
|
||||
|
||||
|
||||
print ("""
|
||||
|
@ -290,7 +290,7 @@ def mail(to, subject, prioflag1, prioflag2, text):
|
|||
|
||||
if sendmail == 0:
|
||||
|
||||
if email_provider == "gmail":
|
||||
if email_provider == "gmail" or email_provider == "yahoo" or email_provider == "hotmail":
|
||||
try:
|
||||
mailServer.starttls()
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue