How can I send an email with a layout <p>I am using grails mail plugin. When I submit my form, it will send an email from aaa@example.com to textField name="email successfully but how can I send an email with a layout...not blank like this picture <a href="http://www.4shared.com/photo/uT2YUCfo/Capture__2_.html" rel="nofollow">http://www.4shared.com/photo/uT2YUCfo/Capture__2_.html</a> or maybe some CSS..</p> <p><strong>FORM</strong></p> <pre><code>&lt;g:form action="send"&gt; &lt;table style="width:500px"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;Your Email Address &lt;/td&gt; &lt;td&gt;&lt;g:textField style="width:250px" name = "email"/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Your Name&lt;/td&gt; &lt;td&gt;&lt;g:textField style="width:250px" name = "user"/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;input type="submit"/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/g:form&gt; </code></pre> <p><strong>MAIL CLOSURE</strong></p> <pre><code>def send = { sendMail { to params.email from "aaa@yahoo.com" subject "Test Reset Password" body(view:"/user/layoutmail",model:[name:params.user]) } render "Email Terkirim" } </code></pre>