Added custom SMTP support
Added custom SMTP support

Added "smtp_port = 587" for default port in the user editable variables
Added '-g' as possible argument. Chose '-g' (for gateway) because '-p' was already in use.
Added processing of '-g' argument, including errorchecking, in case it's not an integer.
Changed 587 to smtp_port on line 120
sumeshpremraj/rundeck-scripts,sumeshpremraj/rundeck-scripts