diff options
Diffstat (limited to 'bin/common/srtool_email.py')
-rwxr-xr-x | bin/common/srtool_email.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/bin/common/srtool_email.py b/bin/common/srtool_email.py index e254a5ee..103c8be0 100755 --- a/bin/common/srtool_email.py +++ b/bin/common/srtool_email.py @@ -32,6 +32,18 @@ import argparse import smtplib from email.mime.text import MIMEText +# Setup: +toaddrs = '' +fromaddr = '' +smtpserver = '' +smtpencryption = '' +srt_user = '' +srt_passwd = '' +subject = '' +msg = '' +verbose = False +test = False + ################################# # Send the email # @@ -183,8 +195,6 @@ def main(argv): if __name__ == '__main__': - global script_pathname - script_pathname=os.path.dirname(sys.argv[0]) main(sys.argv[1:]) |