How to write "bold" format in smtp body property in uipath?

activities

#1

HI,
I want to draft a mail, and in draft mail, I want some text in bold format.
Is it possible in smtp activity in property of body to write some text in bold format?

like:-
First Name Last Name
ZZZ AAA
XXX YYY


#2

Hi,

Enable the IsBodyHTML property and then you can simply wrap the words you want with bold with
"<b>First Name Last Name</b>"

br,
Topi


#3

Thanks @Topi , Its working.

One more thing, how to space between two strings in body property in smtp activity.
like:-
zzz"TABspaceTABspace"aaa
xyz"TABspaceTABspace"abc


#4

Hi,
if you don’t want to go with CSS styles then a crude solution would be something like this:

Insert white space of different widths. You can insert a longer space by using any one of the following options:[3]
Two spaces - Type in &ensp;
Four spaces - Type in &emsp;
Tab - Type in &nbsp;&nbsp;&nbsp;&nbsp;

source:


#5

@Topi

in that case it gives an error.


#6

Keep it inside the quotations.


#7

@Topi,

I tried that, it is create a string like:- ZZZ&nbspAAA
XYZ&nbspABC

Any solution for same???

Thanks.


#8

You are missing ; character.
Try this in your body:
"<b>First Name Last Name</b><br>ZZZ&nbsp;&nbsp;&nbsp;&nbsp;AAA<br>XXX&nbsp;&nbsp;&nbsp;&nbsp;YYY"

<br> is a line change in HTML


#9

Check this out for additional info:
https://www.w3schools.com/html/

You might want to use a table since it looks like a tabular format anyhow:
https://www.w3schools.com/html/html_tables.asp


#10

@Topi,

Input like this:-image

and output:-
First Name Last Name Email
ZZZ &nbsp AAA abc@def.com
XXX YYY ccc@ddd.com

it is not work. It only write between two strings.


#11

Are you not seeing my earlier reply ?


#12

@Topi Thanks,
Sorry I forgot to write semicolon after that so.
once again Thanks for replying.