PDA

View Full Version : Using vbmail


kbadr
10-22-2004, 05:30 AM
I wrote a function that sends a private message to another user. I bascially grabbed some code from private.php. Everything's working fine, except for the new pm email notifications.

When I use the lines:

eval(fetch_email_phrases('pmreceived', $touserinfo['langageid'], '', 'email'));
vbmail($touserinfo['email'], $emailsubject, $emailmessage);

the email notifications are going out, but none of the site data is filled in. The messages have holes in them. The email subjects say "New Private Message at" and the body of the emails say:

"You have received a new private message at from . Please click here to
log in and read it:
/private.php

Thanks,
team
"

Now, obviously I'm just not including a file I need that will get me access to some VBulletin variables. My question is, what file do I need to include?

tazzarkin
03-19-2008, 06:37 PM
you once wrote a thread about the vbmail command. did you ever learn how to use this? and can this command still be used?

please let me know.

King Kovifor
03-19-2008, 06:48 PM
This is an unneeded resurrection of a three and a half year old thread. The user has not been active for about two years.