0
I want to use the below velocity template in the format of html code. I had wroteen the above template into the html template.But in mail it displays as it is.

 Welcome $firstName $lastName! 
Please use activation code to activate your my fashions account Activation Code:$activationCode Please click the below link to activate your my fashions account. URl: $activationLink 

<html> 
<body>
 <h2> Welcome $firstName $lastName! </h2> 
<br> <br>
 Please use activation code to activate your my fashions account 

激活码: $activationCode 请点击下面的链接激活您的我的时尚帐户。谢谢,

4

1 回答 1

0

我不确定我是否完全理解了这个问题的概念,但试试这个:

`<html>`

`<body>`

    `<h2>Welcome ${first.userName}, ${last.lastname} </h2>`

`</html>`

我希望这会有所帮助

于 2013-08-03T10:25:44.900 回答