Send email python script

Send email python script

I have set this script up to send an email to one of my vendors from a custom menu.  My problem is that I cannot seem to create a format that looks the way I want it.  

This is the xml code in my file

<message>
<!-- This is the Message to be sent in the email.-->
From: ServiceDesk Test &lt; GSDTest@mydomain.com&gt; 
<!--The values for From and To can be updated here-->
To: Leroy.Squires@mydomain.com&gt;
MIME-Version: 1.0
Content-type: text/html
Subject: Please order new cell phone for the user below -  Work Order ID  ##$WORKORDERID$##
<!-- The subject of the mail can be updated here-->

&lt;/br&gt;&lt;/br&gt;
User Name : $Employee Name$ &lt;/br&gt;
Shipping Address : $Shipping Address - Street$ &lt;/br&gt;
  $Shipping Address - City / Province / Postal Code$ &lt;/br&gt;

Phone Type $SUBCATEGORY$ &lt;/br&gt;


This is the result

Subject: Please order new cell phone for the user below - Work Order ID ##1172556##

 



User Name : ['Leroy Squires']
Shipping Address : ['123 Kent Way']
['Montreal Quebec H4T 1K2']
Phone Type Android 



This is what I'm trying to achieve

User Name :                Leroy Squires
Shipping Address:       123 Kent Way
                                  Montreal, Quebec  H4T 1K2

Phone Type:                Android


Please let me know if I can modify the xml file to accomplish this, or is this something that has to be identified in the python file?

Thank you,

Leroy Squires
Veritiv 
         

                  New to ADSelfService Plus?