server cant send e-card error server cant send e-card error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

server cant send e-card error

Started by pharaoh, July 10, 2004, 04:08:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pharaoh

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

Joachim Müller

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

nicke

#2
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';  ???

nicke

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

Joachim Müller

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