Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-23-2006, 07:33 AM
nraum
Unregistered

Posts: n/a

Hey, this is a really tough one to find support online for, but I finally found a solution when I had this problem...my guess is that you're running php on windows from some sort of auto php/mysql/apache installation package.

In your php code for the mailer, you need to use the following code somewhere:

PHP Code:
ini_set("SMTP","smtp.yourdomain.com");
ini_set("sendmail_from","info@boardwalkfsu.net"); 
I would put it right above the mail code beginning with:
PHP Code:
//Headers        
//Headers 
$headers="From: ".$yourname." <".$youremail.">\n";
$headers.="Reply-To: ".$yourname." <".$youremail.">\n";
$headers.="MIME-Version: 1.0\n"
From what I understand, this sets the mail server in your PHP.INI configuration file temporarily. For some reason I'm not sure of, the default "localhost" wouldn't work. Give it a try, let me know how it works out for you. If anyone else has anything to add, please post!

-Narayan
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning Stephen General Chat 7 05-15-2005 03:41 PM
Warning NightWalker General Chat 6 12-23-2004 02:19 PM
!!!warning!!! mbryan456 General Chat 17 06-06-2004 02:33 AM
WARNING TO ALL S1EY*58th* Delta Force 2 09-26-2003 10:08 AM
WARNING!!!!! ~¥§~ LøÑ£wØLƒ²³ General Chat 9 12-16-2001 06:08 PM


All times are GMT -5. The time now is 10:33 PM.




Powered by vBulletin®