Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29755

Spring send mail with velocity engine

$
0
0

I have a velocity template A:

${連絡先氏名}
パスワード :${ワンタイムパスワード}

then i'm binding parameter to template A as bellow code:

Map<String, Object> model = new HashMap<>();
model.put("連絡先氏名", "test");
model.put("ワンタイムパスワード", "test");

It's cannot set "test" string to ${連絡先氏名} and ${ワンタイムパスワード}

Any body can help me this problem. Thanks all.


Viewing all articles
Browse latest Browse all 29755

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>