withReportAsFile

fun withReportAsFile(reportAsFile: Boolean): MailSenderConfigurationBuilder

Sending the report as an attachment prevents issues with report size and the user from modifying it

Since

5.0.0

Return

this instance

Parameters

reportAsFile

if the report should be an attachment instead of plain text.