importing format-to-string, fix undefined binding
Merge pull request #820 from rjmacready/fix-smtp-client

importing format-to-string, fix undefined binding