email large attachment (> 100MB)
Question

hi everyone, 

we would like to email large attachments (> 100 MB). Normally a link is sent but I have no idea how that works in Outsystems. Does anyone have an idea?

Regards,

René

Solution

u can send a url in the email with encrypted paramter which point to specific file (in db or file share), once the user click sthe url, the parameter should be decrypted and file binary is pulled based on the paramter. as suggested above you can use tokens as well. you can make and expiry of the link based on a date

I don't think you can or would want to send an attachment of 100mb, so your question is indeed: can i send a link to the document.

Where is this document located? is it stored as binary in database?


If it is, then you can build something fancy to store it in sharepoint etc. but you can also expose a webservice that would return your document (ofcourse with a token of some sort) and put that webservice-url in your email.

Solution

u can send a url in the email with encrypted paramter which point to specific file (in db or file share), once the user click sthe url, the parameter should be decrypted and file binary is pulled based on the paramter. as suggested above you can use tokens as well. you can make and expiry of the link based on a date

mvp_badge
MVP

Hi René,

As others have written, sending an e-mail attachment of 100 MB is not only not advised, but almost all mail servers will flat-out deny sending such a large e-mail message. You write "normally a link is sent", but what do you mean by "normally"? When people want to transfer large files they may use 3rd party storage or transfer facilities, like WeTransfer. When you want to automate that, you need a storage provider that allows access via a unique link. This means however that anyone with that link can download the file. If you need something more secure, you'd need a secure login, but it depends of course on the type of person you're sending the file to whether that's feasible. Also, setting that up may be more difficult, as storage providers typically don't support that. The alternative would be to store the file in the cloud, build a log-in screen yourself (or integrate it into an existing app with log-in), and serve the file yourself.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.