Hi all,
I have just finished setting up emails, but am wondering how I could attach a pdf to the email. I tried using plugins.mail.createTextAttachment(filename, textdata) but it doesn't seem to work. Are you meant to just put the filepath of the file you want to send in the filename? I'm not sure what to put in the textdata field.
Thanks,
Alasdair