Mail_to link where the recipient is a variable

Hi,
I want to put a mail_to link in my views, where the recipient is a
variable stored in the database. It is not clear to me how I would do
this from reading the docs. Could someone please explain or point me
in the right direction.

Thanks,

Paul

Paul Jonathan T. wrote:

Hi,
I want to put a mail_to link in my views, where the recipient is a
variable stored in the database. It is not clear to me how I would do
this from reading the docs. Could someone please explain or point me
in the right direction.

Thanks,

Paul

<%=mail_to @variable.stored_in_database, “Linky Link”%>

?

Thanx’s David. Problem sorted out.

Regards,

Paul

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs