Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 05:39 pm EST

Geeklog Forums

NOT SENDING EMAIL WHEN USER SIGNS UP


Anonymous

Anonymous
When a user signs up for an account on my Geeklog site, they are told they will receive their password via email. Is the site supposed to be sending this automatically, or am i missing something?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Yes, Geeklog will send the account information automatically. For this, it uses PHP's mail() function, so you need to make sure you can send mail from PHP. bye, Dirk
 Quote

Anonymous

Anonymous
I'm not as versed in PHP as I should be.... could you explain where I set that up? Thanks a lot!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

You'll find everything you need in the PHP manual.

bye, Dirk

 Quote

Anonymous

Anonymous
If you are using Windows, edit php.ini and add smtp information.
 Quote

Anonymous

Anonymous
It seems to be a weird thing. PHP on my server fails to send only password. Other wep-apps and GeekLog itself in other cases do function OK, e.g., at sending mails from one user to another. I am pretty familiar with PHP (2 years, more-less), thus I took a look at emailpassword function. Everything seems OK - I do not know what's wrong.
 Quote

robgilm

Anonymous
I found what my problem was and thought I would post the answer here to assist others having the same problem. My geeklog site would not email out anything, but I could use sendmail and send anything myself. I found the problem to be that \'localhost\' didn\'t resolve to anything. This created the problem that when the site tried to use sendmail through php it was not gettigg the mail out. I added an entry in /etc/hosts that reads \'localhost 127.0.0.1\' and now everything, including the password mails to new users upon approval, is working fine. I hope this helps.
 Quote

Status: offline

Tony

Site Admin
Admin
Registered: 12/17/01
Posts: 405
Location:Urbandale, Iowa
What borked linux distro were you using that you didn\'t have that in /etc/hosts by default? All distros I have come across seem to get that right. Is it possible you inadvertently removed that some time ago?
The reason people blame things on previous generations is that there's only one other choice.
 Quote

All times are EST. The time is now 05:39 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