coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: n0nam3 on February 25, 2004, 07:06:29 PM

Title: E-mails can't be send
Post by: n0nam3 on February 25, 2004, 07:06:29 PM
Hello again,
I looked through forum - there is no answer to this question.
I talked to my hosting company and they said, that I can't use SMTP.
They said I can use function mail() in PHP.

So, script has it, i looked over mailer.inc.php
It's suppose to send e-mail through mail() when there is no Data for SMTP.
But it doesn't. What could be the problem?
Title: E-mails can't be send
Post by: n0nam3 on February 26, 2004, 06:53:28 PM
So could anyone help me? Please  :cry:
Title: try something
Post by: tiptep on March 08, 2004, 12:18:10 PM
try to put 'localhost' in the include/mailer.inc.php as this :

$CONFIG['smtp_host'] = 'localhost';

hope it will help :wink:
Title: E-mails can't be send
Post by: n0nam3 on March 08, 2004, 07:58:28 PM
Unfortunetely, I can't use SMTP on my ISP.
So I have to use mail() function. But for some reason it doesn't work. It's says e-mail was sent fine, but no one ever gets one.
Title: funny hosting !!
Post by: tiptep on March 12, 2004, 07:39:57 PM
if you have PHP activate at your hosting ... you may have a mail() functio activate but perhaps for security reasons your webhosting has "rewrite" a special function more "secure" try to know about this , send them an email for example !!! Sometimes hosting company add a field to receipt on parameter with the mail() function -> to call it you havot to call email() ...

good luck
Title: E-mails can't be send
Post by: xtreme on March 12, 2004, 10:31:35 PM
this might not be what your looking for but it migh help.
i use a web based email smtp service e.g.
yahoo or aol ..i use www.myrealbox & they relay mail for me
works like a charm

i.e i am using smtp.myrealbox.com

hope this helps as a tempory solution