Hi, I am having a hard time “hacking” the SendEmail node.
source here -> https://github.com/vvvv/vvvv-sdk/blob/develop/vvvv45/addonpack/src/nodes/plugins/Network/Email/Nodes/SendEmailNode.cs
The problem is, the node locks files that are fed into as attachment and i can not delete or overwrite these files after sending the mail anymore.
I found help on stack overflow for this problem but with my limited c# knowledge i am failing at making it work. It is just a little snippet to dispose these files:
foreach (Attachment Attachment in mail.Attachments)
{
Attachment.Dispose();
}
I tried to put it straight into the “finally” section (at line 166)(what makes most sense to me), but the mail object is not known there in that context :( Any hint what i can do to make it work somehow?