Page 1 of 1

Please help, class.smtp.inc error

Posted: Tue Aug 21, 2007 10:55 am
by phillife76
Hi evryone, i m using oscommerce and i m able to sent email in my admin tool, but if i sent newsletter, i hit the error : Fatal error: Cannot redeclare class smtp in /home/www/littlefairyland.com/admin/includes/classes/class.smtp.inc on line 12
Please advice what should i do, thanks.

Posted: Tue Aug 21, 2007 11:01 am
by miro_igov
Hello phillife76 :) ,

it is very possible that your script includes the class file twice.

Posted: Tue Aug 21, 2007 11:04 am
by phillife76
miro_igov wrote:Hello phillife76 :) ,

it is very possible that your script includes the class file twice.
Hi,

you refering to the newsletter scripts? Hmm... i go check on it. :) is there anythg that i can look for?

Thanks

Posted: Tue Aug 21, 2007 11:30 am
by miro_igov
Did you done some change on this file or you use the standard osC distro ?

Posted: Tue Aug 21, 2007 11:36 am
by phillife76
miro_igov wrote:Did you done some change on this file or you use the standard osC distro ?
There is no class.smtp.inc in my original osc. i got this from the net and added in host name, helo, etc. And my email sending in admin tool become ok. But it is just the newsletter become haywired. Giving me the error.

Posted: Tue Aug 21, 2007 11:47 am
by Zoxive

Posted: Tue Aug 21, 2007 12:30 pm
by John Cartwright
Moved to PHP-Code.