
08-02-2004, 11:31 AM
|
|
|
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by insanctus
I think in second page is where I posted the code to email them, that they have a new pm.
I did not put it in the code for I personally did not like the idea, so I added it in a post.
|
This post?:
Quote:
Originally Posted by insanctus
Ok here it is, It sends a email to everyone saying they got the pm you just mass pmed them (I find this silly myself but hey I will show the code)
I will not be adding this code into txt file for I think it is not ideal.
Find
Code:
$DB_site->query("INSERT INTO pm (pmtextid, userid, folderid, messageread) VALUES ('$pmid', '$user[userid]', '0', '0')");
After it place this on a new line.
Code:
$touserinfo= array();
$touserinfo=$user;
eval(fetch_email_phrases('pmreceived', $user['langageid'], '', 'email'));
vbmail($user['email'], $emailsubject, $emailmessage);
Enjoy 
|
|