Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 04:43 am EDT

Geeklog Forums

emailing from Geeklog on Win2K


Status: offline

jodonald

Forum User
Newbie
Registered: 06/26/02
Posts: 2
I have set up Geeklog on a Windows 2000 server running IIS 5.0 with service pack 3. I am running MySQL 3.23.51 and PHP4.22. I have everything installed and working except for the feature to mail users. I have set the SMTP server in my php.ini file as follows: [mail function] ; For Win32 only. SMTP = cfu9.cfunet.net ; For Win32 only. sendmail_from = administrator@cfunet.net ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"Wink. ;sendmail_path = and have tested it with the following php file: When I attempt to send mail from within Geeklog, I get the following error message: Warning: Server Error in c:\inetpub\wwwroot\admin\mail.php on line 166 Any help would be appreciated.
 Quote

Status: offline

jodonald

Forum User
Newbie
Registered: 06/26/02
Posts: 2
Forgot to insert the mail file that works. Sorry about that. Here it is: <? $email = "jodonald@cfunet.net"; $subject = "test message"; $message = "This is a test message"; mail($email, $subject, $message); ?> Jim
 Quote

All times are EDT. The time is now 04:43 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content