Post by Trolley » Sat Sep 11, 2010 7:51 pm

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 !!

Newbie

Posts

Joined
Sat Sep 11, 2010 7:43 pm

Post by Qphoria » Sat Sep 11, 2010 10:32 pm

This is a host issue. You apparently can't use the php mail function? Does any other email work for your site?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Trolley » Sun Sep 12, 2010 5:26 am

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 ???

Newbie

Posts

Joined
Sat Sep 11, 2010 7:43 pm

Post by Trolley » Sun Sep 12, 2010 6:46 am

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

Newbie

Posts

Joined
Sat Sep 11, 2010 7:43 pm
Who is online

Users browsing this forum: No registered users and 7 guests