Advanced search  

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]

Pages: [1]   Go Down

Author Topic: server cant send e-card error  (Read 4420 times)

0 Members and 1 Guest are viewing this topic.

pharaoh

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
server cant send e-card error
« 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: server cant send e-card error
« Reply #1 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
Code: [Select]
$CONFIG['smtp_host'] = '';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';

GauGau
Logged

nicke

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: server cant send e-card error
« Reply #2 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';  ???
« Last Edit: August 06, 2004, 11:38:21 pm by nicke »
Logged

nicke

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: server cant send e-card error
« Reply #3 on: August 08, 2004, 12:02:37 pm »

No one that knows how to specify an SMTP port...?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: server cant send e-card error
« Reply #4 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
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.