I'm working on a python script which should create a new mail with a specific text body.
Fact is that \n does not work as excepted.
My code is below :
outlook = win32.Dispatch('outlook.application')
mail = outlook.CreateItem(0)
mail.To = recipient
mail.Subject = subject
mail.HtmlBody = "This is a return line test \nTest"
The body displayed is :
This is a return line test Test
And not :
This is a return line test
Test
What Am I missing ?