Declaring layout: false renders the mail body as another attachment and on not declaring the same it shows Missing template layouts/mailer with {:locale=>[:en], :formats=>[:xlsx], :variants=>[], :handlers=>[:axlsx]}
Is there a way to have the correct attachment file along with the correct mail body and styling?
Thanks for any help in advance.
Declaring layout: false renders the mail body as another attachment and on not declaring the same it shows Missing template layouts/mailer with {:locale=>[:en], :formats=>[:xlsx], :variants=>[], :handlers=>[:axlsx]}
Is there a way to have the correct attachment file along with the correct mail body and styling?
Thanks for any help in advance.