Hello IFS Community,
Does anyone know how to send an email via a report rule using a custom sender instead of the default “ifs_noreply”?
I’ve already created the custom sender and have successfully sent emails using the PDF_REPORT_CREATED event action. However, I’d like to test this using report rules, but I can’t find where to configure the sender.
In code, it would look something like this( See below)/ How could I set up my custom sender in report rules?:
COMMAND_SYS.Mail(
sender_ => '',
from_ => '',
to_list_ => to_email_,
subject_ => 'NCR ' || NVL(ncr_no_, '(unknown)'),
text_ => mail_body_,
-- content_type_ => 'text/html; charset=UTF-8', -- include if supported
attachments_ => attachments_,
mail_sender_ => 'MY_CUSTOME_SENDER_HERE'
);

