Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Save email attachment from NetSuite Email Capture Plugin
Hi all,
Just wondering if anyone had any ideas on how I could save attachments from email coming in via the NetSuite Email Capture plugin into the File Cabinet. After reading the help, forums and google I can't see a way to do this.
In my code currently, the email is received by the plugin, the email contents are read (to, from, subject, body and attachment details), after the normal check are completed, if the email contains an attachment then the code breaks into a function called downloadAttachment. In this function it checks the attachment extension and if it's a pdf then i would like this to be saved into a cabinet folder.