Send an email with an attachment that is saved in a record
Hi,
I am trying to send an email with an attachment from the record.
I tried getting the file via InvokeURL and also I tried getting it via get relatedLists.
I was able to get it, however that only returns the name and details of the of the file - not the file itself.
When I tried attaching the response to the attachments in th send mail in deluge, the response was not a file object - so it did not work. When I tried converting the response to a file object it created the file and the content was the response details.
How can I send an attachment from a record in an email. Does it have to be done in a custom function, and also how would I do it?