WordPress.org

Support

Support » Plugins and Hacks » WP-GREET: turn "from email" php code into "mailto" link

WP-GREET: turn "from email" php code into "mailto" link

  • hi, i’m using this code…

    $out .= "<br />". __("Send a thanks to","wp-greet")." </th><td>". $res->fromname . " <" . $res->frommail . ">";

    …to display the following message:

    Send a thanks to Name <email@domain.com>

    my problem is, i don’t know how to turn the <email@domain.com> into a link so that when clicked it launches an email client and sets it as the “to” field, much like mailto: would do.

    is this possible? any hints would be appreciated.

    thanks!

  • The topic ‘WP-GREET: turn "from email" php code into "mailto" link’ is closed to new replies.