私のアプリは、ユーザーが要求したときに生成された電子メールを送信する必要があります。メールは問題なく送信されます (Grails で Mail プラグインを使用しています) が、メール全体の目的であるリンクを含む行が内部にあります。ただし、メール内には表示されません。コードは次のようなものです。
'<head>'+
'<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>'+
'</head>'+
'<body>'+
'<table width="690px" height="390px;" border="0px;font-family:verdana">'+
'<tr>'+
'<td>'+
'<p style="font-size: 14px;line-height: 1.5;margin-bottom: 10px;margin-left: 25px;text-align: left;">Blahblahblah this is the URL:</p>'+
'</td>'+
'</tr>'+
'<tr>'+
'<td>'+
'<p style="font-size: 14px;line-height: 1.5;margin-bottom: 10px;margin-left: 25px;text-align: left;"><a href="http://www.myurl.com/promocion/verPromocion?promocion='+promocion.nombre+'&recomendador='+compradorInstance.id+'"> </a> </p>'+
'</td>'+
'</tr>'+
</table>
'</body>'
<"p"> が描かれているのは、リンクがあるはずの場所に空白があるためですが、リンクが表示されていないことがわかります。理由を知っている人はいますか?ありがとうございました。