2691
Views
7
Comments
Solved
How to send Emails in Outsystems Version 11
Question

Hi,

I am currently creating a traditional web and am required to send email in the web after clicking a button. How do I go about doing this in Outsystems? The tutorials ive seen looks outdated. Is there a more recent tutorial to show how to achieve this?


Thanks.

2023-03-16 18-12-52
Michael Chu
Solution

Jonathan Ng wrote:

Hi,

I am currently creating a traditional web and am required to send email in the web after clicking a button. How do I go about doing this in Outsystems? The tutorials ive seen looks outdated. Is there a more recent tutorial to show how to achieve this?


Thanks.

Please see below reference for sending email. Hope this helps.

Add a UI Flow, then right click on that UI Flow and select the envelope icon

On your screen action/server action Drag the Email Icon that  you created on the UI Flow


PS: Before this works you need to configure the email setting in service center and supply the credential and the port to use

2019-10-29 12-40-04
Nikolai Kaplin

Hi,

Everything is perfectly described in articles (Send an Email From a Web Application and How-to send emails from your personal environment).  For example, you can use this free mail server service. Configured your PE and you will succeed.

2019-11-19 14-26-56
Jean-Paul Buu-Sao

In addition, note that this solution only works on Traditional Web Applications. 

In order to send email from Reactive Web, or Mobile applications: build a simple Traditional Web Application that exposes your Email sending as a REST service, that you consume from your Reactive Web or Mobile applications.

UserImage.jpg
silva lima

Peoples,


does anyone have an example for attaching files in email?

2023-03-16 18-12-52
Michael Chu

silva lima wrote:

Peoples,


does anyone have an example for attaching files in email?

Silva,

You can add a attach file widget on the emails preparation before sending. You just need to input the filename and the binary data. Please see below implementation example. Hope this help.



UserImage.jpg
silva lima

Michael Chu wrote:

silva lima wrote:

Peoples,


does anyone have an example for attaching files in email?

Silva,

You can add a attach file widget on the emails preparation before sending. You just need to input the filename and the binary data. Please see below implementation example. Hope this help.



Many thanks for the reply Michael.Made me understand better.


But how would I do, for the user to attach images, excel or pdf files? I would like to leave the user free to upload any file. It is possible?


2023-03-16 18-12-52
Michael Chu

silva lima wrote:

Michael Chu wrote:

silva lima wrote:

Peoples,


does anyone have an example for attaching files in email?

Silva,

You can add a attach file widget on the emails preparation before sending. You just need to input the filename and the binary data. Please see below implementation example. Hope this help.



Many thanks for the reply Michael.Made me understand better.


But how would I do, for the user to attach images, excel or pdf files? I would like to leave the user free to upload any file. It is possible?



You can convert Image, Excel and pdf to binary data then attached it to the Attached File widget. The goal is to convert the uploaded file into binary so you can attached it to the attached file widget.

Many Thanks



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