Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending E-mail through CRA

Status
Not open for further replies.

martman700

IS-IT--Management
Apr 1, 2005
28
0
0
Got lots of good things working with CRA. Email and all. But when creating email in the CRA script, I can put the text in for the subject and body, all is good. But in the body of the message I'd like to put CRLF instead of having just one solid string....looks ugly.

Anyone been able to get this working?

I've tried things like:

"You are " + $variable "years old today!" + CRLF + "Congrats!
 
Indeed, i stumbled across the solution just recently...bugger!

In CRA, in the create email step, in the body used:

"Hi " + FirstNameVar + "," + u"\n" +

u"\n" +"Your total cost: " + u"\t" + TotalCostVar + u"\n" +

u"\nSincerely," + u"\n" +
u"\nManagement"
-------------

As you can see u"\n" is new line, u"\t" for tab.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top