File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,17 +6,19 @@ def main():
66
77 # Get sender's email and password
88 sender_email = input ('Enter your email: ' )
9-
10- print ('If you have 2-factor authentication turned on, make sure to generate an app password. \n Otherwise, enter your password.' )
11- sender_password = input ('Enter the Password: ' )
12-
9+
1310 # Security Warning
1411 print ("\n ** SECURITY WARNING **" )
1512 print ("Entering your email password directly in the script can be a security risk." )
1613 print ("Consider using app passwords for Gmail or other secure authentication methods." )
1714 print ("Do not share your scripts containing passwords with others." )
1815 print ("Continue only if you understand and accept these risks.\n " )
1916
17+ print ('If you have 2-factor authentication turned on, make sure to generate an app password. \n Otherwise, enter your password.' )
18+ sender_password = input ('Enter the Password: ' )
19+
20+
21+
2022 # Get receiver's emails
2123 receivers = input ('Enter the receiver\' s emails separated by commas: ' )
2224 receiver_emails = [x .strip () for x in receivers .split (',' )]
You can’t perform that action at this time.
0 commit comments