PDA

View Full Version : Email Notification Hack *Almost* Done


htmlforums
01-10-2002, 11:07 PM
I'm sure many of you know that vbulletin can sometimes have problems sending out email notifications if your server uses sendmaill. Well I've had to have my email options turned off for months because of this, but I've finally got a cgi work-around that's about ready to go. I'm just having trouble with a specific part, converting the fields from php to cgi. Can anyone offer some quick help?

I just need:


mail($touser[email],$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>");


Switched to a form like:


$notifyurl = "formmail.cgi?to=$to&message=$message&headers=$headers";
include($notifyurl);


Little help?

Admin
01-11-2002, 11:36 AM
I am really not sure about this one, but maybe this one will work?
$nothing=file("http://www.site.com/forum/formmail.cgi?to=$to&message=$message&headers=$headers");

htmlforums
01-11-2002, 05:17 PM
Hi Firefly,

Thanks for your response, but that line does not contain any of these variables which I need to pass into my cgi formmail scrpt:


mail($touser[email],$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>");