I'm trying to configure a new Alerting Actions of Type E-Mail.
Under the SMTP Server:, I don't see an option to configure authentication.
Neither I find any reference in the Brocade Virtual Traffic Manager: User's Guide, v17.3
How can I use a SMTP server without passing authentication? We don't have this option, in order to use company's SMTP server, we need to pass authentication, unless there's a way to leverage Brocade's.
Hi Mauroj,
Unfortunately you can't setup authentication on SMTP alerts at present. There is an open feature request for this though. I would suggest that you open a ticket with support and make your requirement known so that the RFE can be updated by the team.
As a work around you can add this python script to Action Programs and set you events to fire through this instead. Obviously change the variables to match your environment.
#!/usr/bin/python import sys import smtplib ################################################### # email from address/login account and password eFrom = "[email protected]" ePass = "topSecretPassWord" # Mail server to use and port eSMTP = "smtp.office365.com" ePort = 587 # Destination address and subject eRcpt = "[email protected]lse.uk" eSubj = "Alert: " + str(sys.argv[0]) ################################################### msg = "From: " + eFrom + "\r\n" msg += "To: " + eRcpt + "\r\n" msg += "Subject: " + eSubj + "\r\n\r\n" msg += "Alert: " + str(sys.argv) + "\r\n" server = smtplib.SMTP(eSMTP, ePort) server.starttls() server.login(eFrom, ePass) server.sendmail(eFrom, eRcpt, msg) server.quit()
Cheers,
Mark