Page 1 of 1

Returns: Notify Customer

Posted: Sun Jun 14, 2015 10:07 am
by CB1611
Hello,

I was trying out the Return Customer feature from the admin panel side, and it's great! I love it! I noticed that if I go to Add History to a return, I can check "Notify Customer". I assume this means that I can check that, and whatever I add to History will be emailed directly to the Customer. When I add history after checking Notify Customer, I get this error:

Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/content/c/a/l/calvary285/html/bookstore/system/library/mail.php on line 170Warning: fsockopen() [function.fsockopen]: unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/content/c/a/l/calvary285/html/bookstore/system/library/mail.php on line 170Notice: Error: php_network_getaddresses: getaddrinfo failed: Name or service not known (0) in /home/content/c/a/l/calvary285/html/bookstore/system/library/mail.php on line 173

Here is my PHP:

Line 170: $handle = fsockopen($hostname, $this->smtp_port, $errno, $errstr, $this->smtp_timeout);
Line 173: trigger_error('Error: ' . $errstr . ' (' . $errno . ')');


Please help! This would be an amazing feature if this is indeed what it does. Thank you!

Re: Returns: Notify Customer

Posted: Sun Jun 14, 2015 10:32 am
by CB1611
Yikes...

I just got the same error while trying to register an account for myself to test some things...
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/content/c/a/l/calvary285/html/bookstore/system/library/mail.php on line 170Warning: fsockopen() [function.fsockopen]: unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/content/c/a/l/calvary285/html/bookstore/system/library/mail.php on line 170Notice: Error: php_network_getaddresses: getaddrinfo failed: Name or service not known (0) in /home/content/c/a/l/calvary285/html/bookstore/system/library/mail.php on line 173

Re: Returns: Notify Customer

Posted: Mon Jun 15, 2015 9:28 pm
by pilot7679
Hello,

Maybe you can try this;
Settings --> your store --> mail --> mail protocol --> change to smtp instead of mail?

Good luck ;)

Re: Returns: Notify Customer

Posted: Mon Jun 15, 2015 9:38 pm
by CB1611
pilot7679 wrote:Hello,

Maybe you can try this;
Settings --> your store --> mail --> mail protocol --> change to smtp instead of mail?

Good luck ;)
It's set to SMTP, but these are all blank:

Mail Parameters
SMTP Hostname
SMTP Username
SMTP Password