Hi,
I need to get the last message from thread and forward it without message body (I need to forward attachments only). How can I edit message body before I send it?
I need only attachments from the message, and currently attachments + inlineImages are being forwarded.
I can not do it with .sendEmail() method, because i want to preserve thread history.
Here's snippet of the code:
else{
lastMessage.forward(forwardingAddress, {
from: fromAddress,
subject: subject,
});
}