This allows having multiple smtp connections with different auth
make user and password part of the smtp object
@shtylman i like this feature.
however, one benefit of the older way was that SMTP_USER and SMTP_PASSWORD were not publicly exposed on the object. (it isn't much extra security, but it is my personal preference)
do you have ideas on how to support your feature but also keep the user/pass private to the object?
i'ld accept the patch without hesitation if you could do this.
@eleith I don't really see the security issues here. The developer can hide the server objects as they see fit. Having the username and password in the object is not a problem. If you really want you can make them non enumerable, but again I think none of that is necessary in this case.
i agree with you. i don't see it as a problem, just a personal preference.
allow for different user/pass per smtp connection, fixes #22
thanks for pushing this issue through.