WordPress.org

Ready to get started?Download WordPress

Forums

WP-GREET: turn "from email" php code into "mailto" link (1 post)

  1. xiabolai
    Member
    Posted 3 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags