I don’t think your suggestion will work since sendEmail() requires byte data.
@jmacascas, have a look at this: Email with Excel file Attached without prompting
I don’t think your suggestion will work since sendEmail() requires byte data.
@jmacascas, have a look at this: Email with Excel file Attached without prompting