Hi guys!
I'm confusing about how to send email with attachment in the Reactive Web APP. Do we have any other ways to realize it
instead of using traditional web app?
Best regards, Thanks!
Hello Gu,
Hope you are doing well.
Sending e-mails is a feature that applies only to Traditional Web Applications (because it is Server Side). That's why you don't have that option in Reactive Web modules.
For this purpose, you will need a Traditional Web module, with a public Server Action that will send the e-mail.
In therms of architecture, what is usually done is to have a Core Layer module, defined as a Traditional Web module. In this module (Server Side), you may have your logic for sending e-mails.
Back to your Reactive Web module, you can use a client or server action to call this public server action from the Traditional Web module.
About the attachment, you have Attach File tool.
You should use it inside the Preparation of the e-mail.
Hope that this helps you!
Kind regards,
Rui Barradas
Hi Rui
Your advice is absolutely useful. Thank you so much.
Best Regards,
Gu kang
You are most welcome Gu :)
Hi Gu, Rui, Rahul, and Unnati,
Emails are now available for reactive applications! While attachments functionality are not available yet, it will be part of an upcoming release. To enable the reactive email feature, you'll need to first opt-in to the technical preview. Please check out this post for more details: https://www.outsystems.com/forums/discussion/70800/technical-preview-built-in-emails-for-mobile-and-reactive-web-apps/
Hi
can you please help to attach a file while sending a mail.
Hope it works now
Hi Gu Kang ,
Reactive web apps do not have the same functionality for creating and sending mails as traditional web apps.
In think this could work:
Thanks,--RJ--
Hello Gu Kang,
There is one forge component that you can use for emails and related functionality. The component is RichMail.
You can also refer this - https://www.outsystems.com/forums/discussion/34236/richmail-attachment-sample/
Thanks,
Unnati
If you don't want to use OS build-in email feature, nothing stops you from using API or extension to get to 3rd party email functions, like Amazon Simple Email Service or Azure SendGrid. You will lose all OS templates, build-in server actions etc. though.