Allow logging email subject and email body when setting email pretending mode to true.
Update the mockery object in the test file to allow getBody and getSubject method to be called.
Log email view names instead of email body when logging message
Use event dispatcher in Mailer class and fire an event when sending an email
Merge pull request #3844 from letrunghieu/master

Allow logging email subject and email body when setting email pretending mode to true