All Apps and Add-ons

BUG in sendmail.py Splunk 6.2.2

robertlight
Path Finder

starting on line 97:

       # send the mail
        if not use_ssl:
            smtp = smtplib.SMTP(server)
        else:
            smtp = smtplib.SMTP_SSL(server)

        if use_tls:
           smtp.starttls()

should be:

    # send the mail
    if not use_ssl and not use_tls:
        smtp = smtplib.SMTP(server)
    else:
        smtp = smtplib.SMTP_SSL(server)

    if use_tls:
       smtp.starttls()
0 Karma
1 Solution

aljohnson_splun
Splunk Employee
Splunk Employee
0 Karma

aljohnson_splun
Splunk Employee
Splunk Employee
0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.