Log in

View Full Version : vbmail in report.php (v2.3.x)


hurrican
10-22-2007, 02:01 PM
This is for vb 2.3.x --

I want to add an email address to the report.php file, i've tried, but can't get it figured out. I don't want to have to add a user just to do this.

I'm attempting to setup a generic yahoo account so mods can login to that one if they want and reply to reported posts or take care of moderator biz there w/o giving away their personal email account. Right now, the php code is

vbmail($moderator['email'], $subject, $message);

How would I go about adding blah@yahoo.com within this string??? Any help appreciated!

WhaLberg
10-22-2007, 02:30 PM
$email = 'blah@yahoo.com';
vbmail($email, $subject, $message); or vbmail('blah@yahoo.com', $subject, $message);

hurrican
10-22-2007, 04:08 PM
$email = 'blah@yahoo.com';
vbmail($email, $subject, $message); or vbmail('blah@yahoo.com', $subject, $message);


Thx WhaLberg -- I'm wanting to KEEP the $moderator though, that way I don't have to modify that each time I add a Moderator, I want to have this one 'as well' :)

WhaLberg
10-22-2007, 04:15 PM
Add the one I gave as a line, so you won't have to change anything. :)