I am trying to send a hyperlink to a shared directory using win32com in the body text of an Outlook email. I am not sure what is happening to my path when the program is ran that is making the directory appear as it is below.
import win32com.client as win32
outlook = win32.Dispatch('outlook.application')
mail = outlook.CreateItem(0)
mail.To = 'EMAIL ADDRESSES'
mail.Subject = 'Subject'
mail.HTMLbody = ("Hello All -<br><br>"
"Please find the following files in the shared drive:<br>"
"<a href='\\servername1\apps\folder'>"
"\\servername1\apps\folder</a><br><br>"
"The file names are:<br>"
"FILENAMES")
mail.send
The file path is appearing in the email as: \servername1pps\folder