Skip to main content
Question

how to add a specfic body to mail

  • February 23, 2023
  • 3 replies
  • 146 views

Forum|alt.badge.img+8

We are sending mail via using event but we want to add specific body with formatting in mail . From where we can achieve this ?

3 replies

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • February 23, 2023

Hey @HDZRISHABH 

You can configure a notification message. Open the screen from the smart client

You can read more in the documentation

Cheers!


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • February 23, 2023

This notification will come at IFS cloud screen . We want our mail body to be formatted . 


Forum|alt.badge.img+6
  • Sidekick (Customer)
  • February 26, 2023

Hi @HDZRISHABH , 

 

You can construct your own Custom E-mail using 

COMMAND_SYS.Mail(sender_      => 'Sender Name',
                 from_        => 'noreply@test.com',
                 to_list_     => 'user1@test.com',
                 cc_list_     => '',
                 bcc_list_    => '',
                 subject_     => 'Subject',
                 text_        => '<h1>Header</h1>'||'<br>'||'new line',
                 attach_      => '',
                 rowkey_      => '',
                 mail_sender_ => 'MAIL_SENDER_HTML');
 

Execution result

 

In this case, text_ can be constructed by HTML rules with any formatting you need.

MAIL_SENDER_HTML Sender must me configured in IFS Connect as a HTML mail sender

 

Regards, Alex.