Skip to content

Commit

Permalink
Update SMTPClient.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MrThanasiz authored Nov 8, 2019
1 parent 6321198 commit cd71575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClientFolder/SMTPClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def run(self):

if len(userInput) == 0: # This is used to prevent sending an empty message
userInput = userInput + " "
if userInput[0] == ".": # This is used for the DATA part, is a "requirement" of RFC821
if userInput[0] == "." and len(userInput) > 1: # This is used for the DATA part, is a "requirement" of RFC821
userInput = "." + userInput

message = self._module.securityClient.encryptData(userInput)
Expand Down

0 comments on commit cd71575

Please sign in to comment.