We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6321198 commit cd71575Copy full SHA for cd71575
ClientFolder/SMTPClient.py
@@ -47,7 +47,7 @@ def run(self):
47
48
if len(userInput) == 0: # This is used to prevent sending an empty message
49
userInput = userInput + " "
50
- 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
51
userInput = "." + userInput
52
53
message = self._module.securityClient.encryptData(userInput)
0 commit comments