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.
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?
This is the xml code in my file
<message>
<!-- This is the Message to be sent in the email.-->
From: ServiceDesk Test <GSDTest@veritivcorp.com>
<!--The values for From and To can be updated here-->
To: Leroy.Squires@veritivcorp.com >
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-->
</br></br>
User Name : $Employee Name$ </br>
Shipping Address : $Shipping Address - Street$ </br>
$Shipping Address - City / Province / Postal Code$ </br>
Phone Type $SUBCATEGORY$ </br>
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