# Formatted the email body in Outlook

**URL:** <https://the.fmsoup.org/t/formatted-the-email-body-in-outlook/4513>\
**Category:** Floating Topics\
**Tags:** community\
**Created:** [November 29, 2024, 6:36am UTC](https://the.fmsoup.org/t/formatted-the-email-body-in-outlook/4513 "2024-11-29T06:36:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saeed](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Saeed](https://the.fmsoup.org/u/Saeed)\
**Post date:** [November 29, 2024, 6:36am UTC](https://the.fmsoup.org/t/formatted-the-email-body-in-outlook/4513/1 "2024-11-29T06:36:35Z")

</div>

I created a script and formatted the email body to be received via Outlook. However, at times, the formatting does not appear as intended, as shown in the screenshot below.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/e/ebf9b6220a232372ea4879d7228f482e649a9b56.png)

should appear as shown in the screenshot below:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/6/65b72e017bf694a6966f085de5d63415a3317d07.png)

---

<div class="post-metadata">

**Author:** ![Saeed](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Saeed](https://the.fmsoup.org/u/Saeed)\
**Post date:** [December 9, 2024, 4:10pm UTC](https://the.fmsoup.org/t/formatted-the-email-body-in-outlook/4513/2 "2024-12-09T16:10:25Z")

</div>

I hope find it helpful:

"Dear " & Contact\_Name & "," & ¶ & ¶ &  
"We are expecting a VIP visit to Xyz on " & VIP\_Group::DateofVisit & ". Below are the details of the visitor:" & ¶ & ¶ &

TextStyleAdd("VIP Visitor Information", Bold) & ¶ &  
"• Full Name: " & VIP\_Group::C\_VIP\_FullName & ¶ &  
"• Company: " & VIP\_Group::Organization & ¶ &  
Case(IsEmpty(VIP\_Group::ContactInformation), "", "• Contact: " & VIP\_Group::ContactInformation & ¶) &  
Case(IsEmpty(VIP\_Group::E\_VIP\_Mobile), "", "• VIP Mobile: " & VIP\_Group::E\_VIP\_Mobile & ¶) & ¶ &

"Visit Details" & ¶ &  
"• Time of Arrival: " & VIP\_Group::C\_Hour\_Minute & ¶ &  
"• Purpose of Visit: " & VIP\_Group::VIP\_PurposeVisit & ¶ &  
"• Duration of Visit: " & VIP\_Group::DurationofVisit & ¶ & ¶ &

"Host Information" & ¶ &  
"• Meeting with: " & VIP\_Group::PersontoMeet & ¶ &  
"• Meeting Room/Location: " & VIP\_Group::Location & ¶ & ¶ &

"Facilities & Services" & ¶ &  
"• Guests accompanying the visitor: " & VIP\_Group::Accompanyingthevisitor & ¶ &  
"• Parking: " & VIP\_Group::Booking\_Parking & ¶ &  
"• Plate Number: " & VIP\_Group::VehicleDetails & ¶ & ¶ &

"Please ensure all arrangements are in place to welcome our esteemed guest. Your attention and cooperation in this matter are appreciated." & ¶ & ¶ &

"Regards," & ¶ &  
"ZMS "
