yii2: Getting error messages or logging errors in the Swiftmailer extension.

Swiftmailer send function returns false. But there are no error messages in any logs or object properties I can find. Swiftmailer docs say there is a logger plugin to do logging for Swiftmailer but I have no idea how to configure it with Yii configs. How do I get any status info or error messages out of swiftmailer in Yii? The guide and the docs say nothing regarding the error handling at all.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 44 (37 by maintainers)

Commits related to this issue

Most upvoted comments

use forum

Thanks but this has nothing to do with the subject of the issue. I am looking for a way to get error messages. It seems most probably the Logger plugin should do it. But how do I properly configure Logger plugin in the Yii configs?