Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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.
0