Alonso knight
New Member
- Joined
- Jan 3, 2008
- Messages
- 72
- Reaction score
- 0
In the file modules/account_recover.php you can find the email wich is sended to the player who wants to recover his account number:
So in this email I can't write any HTML code. If I write <b>hello</b>, the player will recieve a mail with the text <b>hello</b>, and I want it to be hello.
How can I write HTML code in the email value?
Thanks.
PHP:
$body = 'Dear player,
This email is a response for your request to recover your account on http://'.$cfg['server_url'].'/
Your account number is: '.$account->attrs['accno'].'
If you also forgot password, please follow this link:
http://'.$cfg['server_url'].$_SERVER['PHP_SELF'].'?account='.$player->attrs['account'].'&key='.$key.'
If you don\'t want to recover your account, simply ignore this letter.';
How can I write HTML code in the email value?
Thanks.