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!

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened Audit Trail v2 wasn’t written in isolation—it was shaped by your voices. In ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...