09-13-2024 10:33 AM
So Im experimenting with the Create & Send email function in UCCX 12. I have it working, but trying to modify the body of the email to show the information being sent on different rows/lines. (for this purposes I don't need to attach a document or file) Currently I get:
THE EMAIL TEST WAS SUCCESSFUL!!! CSQ Name:TESTCSQCalling Number:+17138817158Called Trigger:5111
What I want to see is:
THE EMAIL TEST WAS SUCCESSFUL!!!
CSQ Name:TestCSQ
Calling Number:+17138817158
Called Trigger:5111
I tried the following syntax, adding the\n (New line escape char) but its not working:
"The Email Test was Successful!!!\n" +
"CSQ Name: " + sPrimeQueue + "\n" +
"Calling Number: " + sCallingNumber + "\n" +
"Called Trigger: " + sCalledNumber
When I applied the above I get:
THE EMAIL TEST WAS SUCCESSFUL!!! \n+ CSQ Name:\n + Calling Number:+17138817158\n + Called Trigger:5111
Cant quit figure what I'm missing/misapplying.
09-13-2024 11:29 AM
It’s been a minute but I believe it’s supposed to be \r\n.
09-13-2024 07:45 PM - edited 09-13-2024 10:49 PM
Yes, it certainly has been a minute, hasn't it @Jonathan Schulenberg ? But I do think you need u"\n" instead of just "\n" to make it work.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide