Page 1 of 1

Offline Credit Card

Posted: Sat Sep 11, 2010 7:51 pm
by Trolley
Hi,

Just got OpenCart working on my apache server was wrapped bought Ofline Credit Card module from Qphoria and got it working right up to the end when I press continue I get the following error:

Warning: mail() [function.mail]: Failed to send mail. (Failed to resolve host address.)
in /volume1/web/mysite.com/ecomm/system/library/mail.php on line 152Warning: Cannot
modify header information - headers already sent by (output started at
/volume1/web/mysite.com/ecomm/index.php:92) in
/volume1/web/mysite.com/ecomm/system/engine/controller.php on line 27


I want to purchase the paypal module but have to get this working first does anyone have any ideas ?

Many Thanks !!

Re: Offline Credit Card

Posted: Sat Sep 11, 2010 10:32 pm
by Qphoria
This is a host issue. You apparently can't use the php mail function? Does any other email work for your site?

Re: Offline Credit Card

Posted: Sun Sep 12, 2010 5:26 am
by Trolley
Originally when I set Opencart up it would not send emails when the Mail Protocol: was set to MAIL when I set it to smtp and entered my smtp server it worked fine. I am running my own Apache server and there are no restrictions on it as far as I know. I have had issues whith php mail before (I am a total novice with php) I entered my smtp somewhere in the php code and that solved the problem. Hope this helps.


Kind Regards ???

Re: Offline Credit Card

Posted: Sun Sep 12, 2010 6:46 am
by Trolley
I have done som testing and it does seem php mail will Not work, is there another way around this using SMTP I have set this in seettings and OC will send a email under contact.
The order is infact sent to me but the shopper is presented with the error:

Warning: mail() [function.mail]: Failed to send mail. (Failed to resolve host address.)
in /volume1/web/mysite.com/ecomm/system/library/mail.php on line 152Warning: Cannot
modify header information - headers already sent by (output started at
/volume1/web/mysite.com/ecomm/index.php:92) in
/volume1/web/mysite.com/ecomm/system/engine/controller.php on line 27

Which I guess is really off putting.
Any help greatly appreciated