forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Ecards & Email => Topic started by: thekujj on December 09, 2004, 06:25:40 am
-
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
-
http://coppermine.sourceforge.net/manual.php#smtp
You have to configure your server properly first.
Joachim
-
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
-
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.
Are 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.
Can 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