Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 04:38 pm EDT

Geeklog Forums

help with smtp


dmschaos

Anonymous
I have geeklog up and running on a win2k server using IIS, php 4.2.3, mysql 3.23.52, etc. Everything seems to work just fine, except the email functions. I've seen similar problems posted here, but Ive yet to find a definitive answer to how to fix the problem. When a new user creates an account, they never recieve the email with thier password. Again, everything else works great...i'm very happy with it, I just need to get this email function working in order to move forward. I've seen a few other posts with similar problems, and a few of you actually stated that you "figured it out" or "fixed it", but never posted what you did to accomplish that. Please respond if you can help! Thanks!
 Quote

SWD

Anonymous
First - make sure php.ini is using win32 mail server Second - open users.php and look for emailpassword function and modify all headers to to have \r\n here are the lines that have to be changed (already modified) in ver 1.3.6 $mailtext = "{$LANG04[15]}\r\n"; $mailtext .= "{$LANG04[2]}: $username\r\n"; $mailtext .= "{$LANG04[4]}: $passwd\r\n"; $mailtext .= "{$LANG04[14]}\r\n"; $mailtext .= "{$_CONF["site_name"]}\r\n"; $mailtext .= "{$_CONF['site_url']}\r\n"; Third - You have to modify mail.php and do the same to all headers in there That is it! Now all email functions should work
 Quote

dmschaos

Anonymous
Still not working...this is the error I recieve when I try and create a new account........ <b>Warning: Server Error in c:\inetpub\wwwroot\public_html\users.php on line 307</b> Thanks in advance.
 Quote

SWD

Anonymous
Did you change/add any other lines then what I mentioned above? You shouldn't have. What is your line 307? Also, you have to make sure your SMTP server is setup to relay from your geeklog site.
 Quote

Anonymous

Anonymous
Cool thx. Just want to let you know it works. Ended up setting my own smtp on my machine. Thanks.
 Quote

All times are EDT. The time is now 04:38 pm.

  • 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