Jump to content

Mail link not working


unemployment

Recommended Posts

The link in the email is showing up as plain text and not as a link.  How do I fix this?

 

if($notify === true)

{

$sender = fetch_user_info(fetch_username_by_id ($user_info['uid']));

$receiver = fetch_user_info(fetch_username_by_id ($uid));

 

$sender['displayName'] = ucwords("{$sender['firstname']} {$sender['lastname']}");

$receiver['displayName'] = ucwords("{$receiver['firstname']} {$receiver['lastname']}");

 

$body = "<table>Hi ${receiver['firstname']},\n

\n

<a href=\"http://mysite.com/u/{$sender['username']}\" title=\"Go to {$sender['displayName']}'s profile\">{$sender['displayName']}</a> would like to be.\n

Please sign in to .\n

\n

The who</table>";

 

mail($receiver['email'], 'fssd', $body, 'From: [email protected]');

// return $sender;

}

Link to comment
https://forums.phpfreaks.com/topic/234163-mail-link-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.