mailto($email, $title = '', $attributes = '')
Parameters: |
|
---|---|
Returns: |
A “mail to” hyperlink |
Return type: |
string |
Creates a standard HTML e-mail link. Usage example:
echo mailto('[email protected]', 'Click Here to Contact Me');
As with the anchor()
tab above, you can set attributes using the third parameter:
$attributes = array('title' => 'Mail me'); echo mailto('[email protected]', 'Contact Me', $attributes);
Please login to continue.