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!

Splunk Lantern | Getting Started with Edge Processor, Machine Learning Toolkit ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...