coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: xtreme on April 02, 2004, 12:01:31 AM

Title: [Solved]: SMTP mail error with registration
Post by: xtreme on April 02, 2004, 12:01:31 AM
Hi guys

my cpg wasworking fine & now i am getting this error

Warning: mail(): Failed to connect to mailserver at "smtp.myrealbox.com for Win32 only" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in c:\inetpub\wwwroot\include\mailer.inc.php on line 37

i havent changhed anyhing so i can only asume my mail server did

is there  anyway you can send mail using a webmail system that requires authentication ?
Title: What a NOOB
Post by: xtreme on April 02, 2004, 12:39:59 AM
hey guys
sorry
i have solved this one my self:
just incase  anyone else has this prob

i set my
$CONFIG['smtp_host'] = "smtp.mymailserver";
$CONFIG['smtp_username'] = "myuser";
$CONFIG['smtp_password'] = "mypass";

in the mailer.inc.php file

hope this helps someone else !!!