Posted on Monday 8th September 2008 at 10:30 PM | |
schorsch Active Member |
how can I make when a user receives an pm he gets an email that he received a new message? |
Posted on Tuesday 9th September 200 at 11:50 AM | |
Dava Active Member |
put in a send mail command which sends the message once a private message has been sent to them |
Posted on Tuesday 9th September 200 at 10:13 PM | |
schorsch Active Member |
Can you give me the code and say where I must involve him? |
Posted on Tuesday 9th September 200 at 11:34 PM | |
UrbanTwitch Senior Member |
Use the email validation in registration.php as a refrence! :-) |
Posted on Tuesday 9th September 200 at 11:38 PM | |
UrbanTwitch Senior Member |
USE THIS TEMPLATE PHP Code
1
$mail = mail("EMAIL TO SEND TO", "EMAIL TITLE", "EMAIL BODY", "From: EMAIL ADDRESS");
Example: PHP Code
1 2 3
$mail = mail("$logged[email]", "Hey there!", "Just a message from this site. HELLO!
You need From: so it's not put into the Junk folder. |
Posted on Wednesday 10th September at 07:45 AM | |
schorsch Active Member |
I do not understand! |
Posted on Wednesday 10th September at 10:40 AM | |
UrbanTwitch Senior Member |
Dude seriously, this is about as easy I can put it for you! |
Posted on Wednesday 10th September at 03:35 PM | |
DanielXP Senior Member |
He will never learn. Look at the send mail tutorial. (Urban has gave you the complete code for that) And they have also told you where to put the code. (The place where the send message insert the message to the DB) Any more help would make it as done for you. Enough information for someone who can look through a couple lines of code. Locked. |