function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anurag DandamudiAnurag Dandamudi 

Email attachment trigger using box for salesforce sdk

I have the below requirement

When an Email is logged to a custom object (specific) and if the email has any attachments, take the attachments and upload them to a box folder.

Currently i am using the contentdocumentlink trigger (wasn't able to get anthing triggered at EmailMessage level) to send the attachments to box using box for salesforce sdk.

Is there any better way to write the trigger at the Email level rather than the contentdocument level?

Also the box for salesforce sdk can only upload a file with max filesize of 4.3MB, is there any workaround to upload the attachment upto 25MB?
VinayVinay (Salesforce Developers) 
Hi Anurag,

Check below available resources that can help you.

https://appexchange.salesforce.com/listingDetail?listingId=a0N30000001qNeKEAU
https://github.com/box/box-salesforce-sdk
https://support.box.com/hc/en-us/articles/360043697534-Upload-to-Box-Through-Email

Thanks,
Anurag DandamudiAnurag Dandamudi
Hi Vinay,

I was already aware of these resources and i couldn't get the help on there.

Thanks,
Anurag