did you test it? I tried to use, but it happens that the class "email" does not have the method "getAs" ... email.getAs('application/pdf');
did you test it?
I tried to use, but it happens that the class "email" does not have the method "getAs" ...
email.getAs('application/pdf');