I am running LinPHA 1.0 on Linux using shared hosting on a local ISP. I would like to use mail mode to allow users to send themselves contact sheets of selected images. According to the ISP, they do not use SMTP Auth and they do allow sending mail from web server. I have tried specifying different methods (smtp, mail, sendmail) and the smtp server. I get the following message regardless of settings in class.phpmailer.php:
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/content/s/a/m/(DOMAINNAME)/html/vendors/include/class.smtp.php on line 105
Warning: fsockopen(): unable to connect to localhost:25 in /home/content/s/a/m/(DOMAINNAME)/html/vendors/include/class.smtp.php on line 105
It acts as though it is not reading my changes. File permissions look good. Anything else to check or change?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am running LinPHA 1.0 on Linux using shared hosting on a local ISP. I would like to use mail mode to allow users to send themselves contact sheets of selected images. According to the ISP, they do not use SMTP Auth and they do allow sending mail from web server. I have tried specifying different methods (smtp, mail, sendmail) and the smtp server. I get the following message regardless of settings in class.phpmailer.php:
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/content/s/a/m/(DOMAINNAME)/html/vendors/include/class.smtp.php on line 105
Warning: fsockopen(): unable to connect to localhost:25 in /home/content/s/a/m/(DOMAINNAME)/html/vendors/include/class.smtp.php on line 105
It acts as though it is not reading my changes. File permissions look good. Anything else to check or change?
FOLLOWUP:
Is there a posted bug I missed?
Is this an RTFM?
What am I missing?
Are you sure that you are able to send mail from a PHP script on your host?
Do any other PHP programs which send mail work from your site?
Vytautas
Just found it.
You have to change line 207 in /actions/basket_build_mail.php