Need help on email notification formatting issue.

Keang
Tera Contributor

Hello,

I have been struggling with the email notification format and hope someone can provide some assistance.

 

The notification contains Start and End text along with email scripts.

Keang_1-1697648002053.png

 

However, when it prints, the dates are showing below the 'Start' and 'End' text. I couldn't figure out why it does that. Please help. Thank you.

 

Keang_0-1697647815723.png

 

7 REPLIES 7

Hi @Keang ,

<p style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">
  <span style="font-size: 12pt; font-family: Lato, sans-serif; color: black;">
    Start: <strong>${mail_script:IT_Notification_startDate}</strong>
    End: <strong>${mail_script:IT_Notification_endDate}</strong>
  </span>
</p>

 

Thanks,

Anand

Keang
Tera Contributor

I was able to removed the break line after "Start" and "End" text be using the following online link

 

https://www.textfixer.com/tools/remove-line-breaks.php

 

The outcome is looking like this:

 

Keang_0-1697654817749.png

 

 

 

Roshan Tiwari
Tera Guru

Hi @Keang ,

 

Go with Below Approach and write Start and End word in Email Script.

 

In Both the Email Script use in template.print()

Start: 

End:

 

By using the word itself in Email script will help you to print the Start and End date on Same Line.