Page 1 of 1

Scripting notification email

Posted: Tue Oct 29, 2013 10:36 am
by BanditBBS
I am trying to write a script to send email, but prefer to use SMTP but I need to use TLS and supply username and password. I tried looking through XI's code but couldn't find anything.

Anyone care to help me google? :)

Re: Scripting notification email

Posted: Tue Oct 29, 2013 11:10 am
by sreinhardt
Our smtp stuff is generally done via the phpmailer script, did you take a look at that? Are you trying to pull information from nagios\postgres or just have the command pass all needed information to your script?

Re: Scripting notification email

Posted: Tue Oct 29, 2013 11:14 am
by BanditBBS
sreinhardt wrote:Our smtp stuff is generally done via the phpmailer script, did you take a look at that? Are you trying to pull information from nagios\postgres or just have the command pass all needed information to your script?
phpmailer will work for my needs I think. Thanks for pointing it out!

Re: Scripting notification email

Posted: Tue Oct 29, 2013 11:40 am
by sreinhardt
Ya no problem!