IT Request Creation via email
Hi,
I have a PowerShell script that will create requests for me and works fine.
Sample lines in the script is
@Category=$Category::$SubCategory
@custom_1=$Urgency
@custom_3=$TmpRequestType
@custom_9=Support
@Status=Open
@owner=$Username
@resolution=$TmpResolution
@Summary=$TmpSummary
This is used as part of a PowerShell form used to quickly create and resolve tickets for our helpdesk staff.
You will notice that some of the fields are fed data within variables like the resolution. On the form the resolution field is a multi-line text box so the variable contains carriage returns.
What happens is the first line of the resolution is placed in the Resolution field and the remaining data becomes part of the summary.
I am using the MAPI mail client Outlook and not the SMTP method PowerShell has.
Does anyone know a way around this issue?
Much appreciated
Wayne
Answers (0)
Be the first to answer this question
I would still like to know if it can be done leaving the carriage returns as written by the technician. - Wayne_A 4 years ago