user1868 Od Nieznany Użytkownik od gru -0001 user1868 15 sie 2015 06:29 So when I try to send a mail with the Cutomer service form I get this error.. Warning: Failed sending email to leucome@hotmail.com in ~/includes/functions/func_email.inc.php (Line 64) So I tried a little scrip to see if php mail work and it send an email as expected.. The little sript. ini_set( 'display_errors', 1 ); error_reporting( E_ALL ); $from = ""leucome@gmail.com""; $to = ""leucome@hotmail.com""; $subject = ""PHP Mail Test script""; $message = ""This is a test to check the PHP Mail functionality""; $headers = ""From:"" . $from; mail($to,$subject,$message, $headers); echo ""Test email sent""; I'm using litecart 1.3.2 ... with Apache 2.2.29 Version de PHP 5.4.41 ... Host papa server. I'm not so good at coding so what should I do next to find what is wrong.
litecart Main Crew Od Sweden Użytkownik od lut 2013 litecart 15 sie 2015 12:37 If you need to debug the mail function it can be found at includes/functions/func_email.inc.php. It's hard to say what the problem is since PHP just pass the email to the local machine's mail pipe returning true or false. You could try an SMTP solution: https://www.litecart.net/addons/75/phpmailer-smtp
user1868 Od Nieznany Użytkownik od gru -0001 user1868 17 sie 2015 16:28 I tried the SMTP phpmailer it do not work too. I'll use something else for now. I'll also keep an installation and try to figure out a solution because other than that it was my preferate cart solution. Thanks,
litecart Main Crew Od Sweden Użytkownik od lut 2013 litecart 18 sie 2015 01:32 Try debugging what is output by func_email.inc.php when it runs the mail() command. Like before that do var_dump($this, $that); exit;
user2219 Od Nieznany Użytkownik od gru -0001 user2219 1 lis 2015 09:17 Has anyone made the the PHPMailer (SMTP) vQmod extension work? I have installed it and followed instructions but the store is still not sending email. On the sideline, this LiteCart is awesome! Simple, lite and yet powerful!
tim Founder Od Sweden Użytkownik od maj 2013 tim 2 lis 2015 16:20 I just tried the latest release and it worked with gmail. However gmail smtp does not support delivery with unregistered sender emails.