Send mail Activity

Please find the appraisal files in below folder:
C:\Users\sandhya.gajare\Documents\UiPath\EmailAndPDFAssignment\Result
Thanks
RPA BOT

How i can send this with adding proper spaces

Hello @Sandhya_Gajare,

If you are using Send Outlook mail activity, enable the IsHTML option and use this;

<p>Please find the appraisal files in below folder:</p>
<p><br />C:\Users\sandhya.gajare\Documents\UiPath\EmailAndPDFAssignment\Result</p>
<p><br />Thanks</p>
<p><br />RPA BOT</p>

Best,

Cam

Hi @Sandhya_Gajare

Replace the Body with this content

"Please find the appraisal files in below folder:<br>C:\Users\sandhya.gajare\Documents\UiPath\EmailAndPDFAssignment\Appraisal<br>Thanks<br>RPA BOT"

Regards
Gokul

we assume you are talking about line breaks and sending the email body as html by enabled the isBodyHtml option

in this case we use <br> to produce a linebreak

Also have a look at this activity:

I have srore path in one variable i need send email with proper spaces

Hi @Sandhya_Gajare

Have a look on the XAML file

image

Hope it will help

Regards
Gokul

not working
print with mail not adding spaces

What is the issue ? share with print screen here

What space do you need? @Sandhya_Gajare

Output in mY environment

Regards
Gokul

Please find the appraisal files in below folder:
C:\Users\sandhya.gajare\Documents\UiPath\EmailAndPDFAssignment\ResultThanks
RPA BOT

Ouput in my environment.

i need like this

Please find the appraisal files in below folder:

C:\Users\sandhya.gajare\Documents\UiPath\EmailAndPDFAssignment\Result

Thanks
RPA BOT

Hi @Sandhya_Gajare

Try with this body content

"Please find the appraisal files in below folder:<br><br>"+SendFilePtah+"<br><br>Thanks<br>RPA BOT"

Regards
Gokul

1 Like

I have enable isBodyHtml Property also

@Sandhya_Gajare

Have you tried with the above body content?

Regards
Gokul

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.