send a file in email.send more than 10 mb
# ask-stanley-ai
t
send a file in email.send more than 10 mb
c
AI generated answer (using internal Slack threads):
Based on the conversations, it appears that the 10MB limit is a restriction in NetSuite's scripting for email attachments. If you try to attach a file larger than 10MB using
email.send
, the script will fail. This limit is not present when sending an email manually through the UI. One suggested workaround was to break the file into smaller chunks and send multiple emails, but this may not be feasible if the recipient's system requires a single file. Another suggestion was to provide a secure link to the document instead of attaching it directly to the email. This would bypass the file size limit, but it would require the recipient to download the file from the provided link. Unfortunately, even the
sendBulk
method has the same limitation, as per the NetSuite documentation: "An individual attachment must not exceed 10MB and the total message size must be 15MB or less." In conclusion, it seems there is no direct way to send a file larger than 10MB as an email attachment through NetSuite's scripting. You may need to consider alternative methods, such as providing a download link or breaking the file into smaller parts. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.856141
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833349645
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825438857
Please provide your feedback on this answer.