Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 09:57 am EST

Geeklog Forums

Setting up email?


Status: offline

DAM

Forum User
Newbie
Registered: 10/23/02
Posts: 5
I did not see anything where I should set up my email, I have searched around, and have found nothing. I have a smtp server, but my domain/site has no email, can I still get new users to get their passwords? Thanks, dam()
 Quote

Status: offline

FlightSimGuy

Forum User
Junior
Registered: 09/22/02
Posts: 18
If you have an SMTP server running, that should be all you need. I'm pretty sure GeekLog uses PHP's mail() function, and php.ini lets you specify the sendmail (or whatever daemon you use) path, for PHP to call to. Assuming all that's set up, you should be able to send email FROM any address you want (geeklog@YourGeeklogSite.com, for example?) If your site hasn't been configured to RECEIVE email, that should not impact this. I hope this helps..If I misunderstood your question entirely, plz let me know. Smile
 Quote

Zergo

Anonymous
It is very easy to change this... I had this problem as well. All you need to do is edit users.php to include rn instead of just n for the mail function. For example:

$mailtext = "{$LANG04[15]}rn";
$mailtext .= "{$LANG04[2]}: $usernamern";
$mailtext .= "{$LANG04[4]}: $passwdrn";
$mailtext .= "{$LANG04[14]}rn";
$mailtext .= "{$_CONF["site_name"]}rn";
$mailtext .= "{$_CONF['site_url']}rn";

It fixed it for me... and I am on a windows server with SMTP.
 Quote

Status: offline

DAM

Forum User
Newbie
Registered: 10/23/02
Posts: 5
To clarify my question: I have a linux server, no email server. There is a smtp server available through my university, I do not want to receive email just send it. How can i configure php or gl to use the smtp server to send out email? Hope that clarifies some. thanks for the help! dam()
 Quote

Zergo

Anonymous
I think there is a place in php.ini where you can specify an SMTP server. Here is what I have in mine:

[mail function]
SMTP = localhost
sendmail_from = me@localhost.com

Not sure if this will work on a Linux server though.
 Quote

Status: offline

DAM

Forum User
Newbie
Registered: 10/23/02
Posts: 5
Nope it will not, it is just a Win32 thing :--( which mean I have to hack away at sendmail. dam(DAMN)
 Quote

Anonymous

Anonymous
A new user is told that his passeord has been sent. Howver, nothing is sent. Is there a file I can change for sendmail? Thanks, Michael
 Quote

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