I am using a .tpl.php file to theme some output, and one thing to output is an email address stored through this module. How would I use the contact form creation method from my php directly?

Comments

mh86’s picture

Status: Active » Fixed

just output the link, which forwards to the contact form page. link looks something like 'email/node_id/field_name'. better use the 'view' field.

if you want to directly output the form, take a look at the function email_mail_page

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.