# Email sent from Mailer behaviour

**URL:** <https://www.ruby-forum.com/t/email-sent-from-mailer-behaviour/83487>\
**Category:** Radiant CMS\
**Created:** [January 26, 2007, 3:50pm UTC](https://www.ruby-forum.com/t/email-sent-from-mailer-behaviour/83487 "2007-01-26T15:50:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![olicat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/a8b319/32.png) [@olicat](https://www.ruby-forum.com/u/olicat)\
**Post date:** [January 26, 2007, 3:50pm UTC](https://www.ruby-forum.com/t/email-sent-from-mailer-behaviour/83487/1 "2007-01-26T15:50:22Z")

</div>

Ok, so I have the Mailer behaviour working now - it will send an email.

It seemed that the thing it didn’t like was the email address that I  
used in the config part.

I am still having a problem tho - how do I create the body (main text of  
the email) from my form?

I was using an email part of the Contact pag with this in it, but the  
email comes thru empty with a text file attached containing the form  
data…

\<r:mailer:get name=“name”/\> submitted the following:  
mesage = \<r:mailer:get name=“message”/\>
