Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 11:46 am EST
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!
3
5
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
4
4
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.
4
3
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.
6
5
Quote
Anonymous
Anonymous
Cool thx. Just want to let you know it works.
Ended up setting my own smtp on my machine.
Thanks.
6
4
Quote
All times are EST. The time is now 11:46 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