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

Submit a bug here ! http://www.splunk.com/r/bugs

0 Karma
Get Updates on the Splunk Community!

Index This | Divide 100 by half. What do you get?

November 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...

Splunk and Fraud

Watch Now!Watch an insightful webinar where we delve into the innovative approaches to solving fraud using the ...