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

  • xiabolai


    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 <>

    my problem is, i don’t know how to turn the <> 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.


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