245
Views
5
Comments
Solved
Is there any way to send mail in server action without UI?
Question

Hi all,

Currently, I have QueueJob table that contains all records need to send the email. After retrieving these records from the table, I don't know how to write the logic for send mail in server action.
From my understanding, OutSystems only support send mail with UI Screen.  So besides using Mail widget, is there any way to send mail in server action?

Regards,

Huy Nguyen,

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
Solution
2018-01-19 03-18-31
indra budiantho

Hi,

u can use a job that call server action that send an email.

It is in the process tab, folder timer, just right click if you want to create a job without UI.

regards

2020-09-01 10-42-42
Stefano Valente

You need a Mail template in your application. This means you need a web responsive module to create the eMail, just like you create screens.

You can send the email in a server action.

2026-02-26 06-29-24
Rahul
 
MVP

Hi Huy,

if you want to send email their is only need ui for Email html and nothing beacuse email can not sent directly. you can create a server action or timer and only you need to pass email id or bodyor subject contnent to send email.

see the below image



Hope this will help you.

Kind Regard

Rahul Sahu

2018-01-19 03-18-31
indra budiantho

Sometimes, for some reason the OS mail is not working.

My friend creates a Java extension to replace it.

regards

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
Solution
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.