coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Ecards & Email => Topic started by: pharaoh on July 10, 2004, 04:08:09 AM

Title: server cant send e-card error
Post by: pharaoh on July 10, 2004, 04:08:09 AM
HI,

I have tried to send an e-card as a test but i keep getting this message.

"server cant send ecard"

Is there somewere I have to set this up?

Cheers
Title: Re: server cant send e-card error
Post by: Joachim Müller on July 10, 2004, 09:06:43 AM
this usually happens if sendmail is not configured on your werver (usually on Windows servers). You'll have to use SMTP to send emails instead. Edit include/mailer.inc.php and add smtp hostname (and eventually username and password) there. Look for $CONFIG['smtp_host'] = '';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';


GauGau
Title: Re: server cant send e-card error
Post by: nicke on August 06, 2004, 10:50:54 PM
I have to login to my SMTP-server on port 2525, using same user/password as for the POP3-account.
(this is for my ordinary mailserver - not sure if I HAVE an SMTP-server on my machine, so I figured it would be easier to use the one I normally use anyway?)

After upgrading to 1.3.1 I can now send e-cards, but I get an error message:

"Could not connect to smtp host : 0 : "

I have entered (what I believe) is the right info, but can not specify the SMTP port.

It would it be something like

$CONFIG['smtp_host'] = 'smtp.myregularmailserver.com:2525';  ???
Title: Re: server cant send e-card error
Post by: nicke on August 08, 2004, 12:02:37 PM
No one that knows how to specify an SMTP port...?
Title: Re: server cant send e-card error
Post by: Joachim Müller on August 08, 2004, 12:32:17 PM
the current mailer.inc.php is based on phpbb's mailer functions, with some features removed. You currently can't set exotic ports with it. In the devel version there's another mailer you might want to give a try, but you have to understand that devel versions come without support. If you don't understand it by looking at the code, you shouldn't use it.

GauGau