Improve configuration of SmtpClient in sync sending.

The existing code allowed for SmtpClient configuration from app domain
configuration file in the asynchronous sending scenario. This change brings
synchronous version up to par.