Hi all There is a table called 'emails'. It has a field 'body' which contains the contents of the email. It contains rhtml code for ex <%=@user.name> When this text from database is included in the actual email to be sent for ex @email.body, then the rhtml text is not parsed, ie the @user.name stays as it is, and is not replaced by the name of the user. Can anyone suggest a solution? Regards, Pankaj