saltstack/salt — pull request #7663 by evinrude (2013-10-07 22:06:20+00:00)
Title: Function arguments for smtp returner

Added smtp function arguments to the body of the outbound message.

I realized that I could not set the smtp port for the smtp returner, so I added an optional config to the smtp returner where one can set the smtp host port for outbound communication. Defaults to 25 if port is not specified.

Tested with gmail, works like a charm.

I will add function args to more of the returners as time permits. Returner schema changes can break stuff, so I am shying away from any returner that will require a schema change (i.e postgres).

Unsure how you want to handle that.