Email issue... SMTP Email issue... SMTP
 

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

Email issue... SMTP

Started by SysAdm, January 02, 2004, 01:36:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SysAdm

I have other PHP apps running on Apache... and I have no problem sending email using the PHP mail command from them, but for some reason Copermine will not send an email when registering a new user... :cry:

I have read through this board on other users issues with SMTP and I'm not using SMTP... but just to make you feel better I added the correct variable information for my SMTP and it still does not work....

I have the actual email.php data from one of my other PHP apps that work if you would like to see it...

(This emailer works fine for my other PHP apps)

http://centralsource.com/emailer.txt

I really like the look and feel of the Coppermine app, I just would like it to work... :wink:

Michael

SysAdm

Also... I just turned on DEBUG and this what I get when I try to register a new user...

Notice: Undefined variable: cc in /include/mailer.inc.php on line 127
Notice: Undefined variable: bcc in /include/mailer.inc.php on line 128
Notice: Undefined variable: server_response in /include/mailer.inc.php on line 66
Notice: Undefined variable: server_response in /include/mailer.inc.php on line 66
Notice: Undefined variable: server_response in /include/mailer.inc.php on line 66
Notice: Undefined variable: server_response in /include/mailer.inc.php on line 66
Notice: Undefined variable: server_response in /include/mailer.inc.php on line 66
Notice: Undefined variable: server_response in /include/mailer.inc.php on line 66

Thanks in advance....

Joachim Müller

It's just a notice, telling you that a variable is being used without being defined before. It's safe to ignore, merely a cosmetical issue, telling the developers what to fix for the next version...
Debug_mode should only be run when you have problems, if you need to run it all the time you should change the error reporting level.

GauGau

SysAdm

I only turned on the debug because I was having a problem... it won't send emails when a new user registers...  

I posted a working one from another site I have in hopes somebody could direct me why Coppermine won't email... (in my first post)

I figured the variable errors had nothing to do with the main email function, but I'm not getting any errors otherwise, just no email.....

____SysAdm

Joachim Müller

as stated before: coppermine doesn't come with it's own email function, but uses the smtp that is being built into your webserver. Turning on debug mode won't help, you'll have to figure out how to get smtp working on your server. Are you self-hosted?

GauGau

SysAdm

What if your server doesn't support SMTP?  I looked at the emailer.php file that comes with Coppermine and I thought if SMTP wasn't filled in (availavble) that it uses PHP's built in email?  

I have this running on a Unix box... I should be able to use sendmail?

___SysAdm

Joachim Müller

yes, that's expected behaviour (leave $CONFIG['smtp_host'] = '';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';
in include/mailer.inc.php blank (as it is by default).

GauGau

SysAdm

It was a problem with my server... got it fixed...

Thanks...
_______SysAdm