Registration Confirmation email problem Registration Confirmation email problem
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Registration Confirmation email problem

Started by thekujj, December 09, 2004, 06:25:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thekujj

Hi-
I would appreciate any help from anyone.

I have a Windows XP OS, Apache 2.0.5, PHP 4.3.8, and MySQL 4.0.2.

I get the following error when testing out user registration....

The registration confirmation email can't be send !

Do I have to alter some sort of mail setting in Apache or PHP?  Any help would be great.
Thanks!
Kujj

Joachim Müller


thekujj

Sorry I'm a newbie...
By default the script uses the PHP built-in mail function to send emails. In some cases, the PHP built-in function can't be used.

If in order to send emails with PHP you need to supply a hostname, a username and a password, you need to edit the file "include/mailer.inc.php" and put the correct values there ($CONFIG['smtp_host'] = 'smtp.somewhere.com'; $CONFIG['smtp_username'] = 'username'; $CONFIG['smtp_password'] = 'password';). If you don't need a username and password to connect to your SMTP server, just leave them blank.


Do I need to go get an SMTP server or do I already have one?  Are they free, what do you reccommend to work well with Coppermine?  Can I have it setup so that it can be in the following format: ?    user@mydomain.com

Thanks!
Kujj

Joachim Müller

Quote from: thekujj on December 09, 2004, 06:05:57 PM
Do I need to go get an SMTP server or do I already have one?
I don't know, it's you who is running the running the webserver.

Quote from: thekujj on December 09, 2004, 06:05:57 PMAre they free, what do you reccommend to work well with Coppermine?
There are free mailservers, yes. All of them do work with Coppermine (or none) - they have to work for your webserver.

Quote from: thekujj on December 09, 2004, 06:05:57 PMCan I have it setup so that it can be in the following format: ?    user@mydomain.com
You can't make this up, you have to know.

Look, this is rather easy: if you have absolutely no idea how to run a webserver, you shouldn't run one. An improperly configured webserver will be hacked in no time, I can guarantee that. We assume you have a webserver that already is configured properly, as the pre-requisite for using coppermine is quite obvious: you need a webserver - of course it must be a working one. We can not support general webserver setup.
However if you think your webserver is set up ok, but you just can't set up a mail server, just disable everything in coppermine config that is related to coppermine sending email (ecards, registration confirmation, reminders etc.).

I'm sorry, I can't help you anymore with this.

Joachim