Announcement

#1 2017-03-29 21:43:06

kevin123
Member
2017-03-29
3

piwecard

Hello/Hi/Greetings,

(I've got everything working 2.8.6 but piwecard. i get this error when i submit the card........

Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp64\www\mightyroar\piwigo\plugins\Piwecard\include\piwecard.class.php on line 540

Any help would be greatly appreciated.  Thanks!)

Piwigo version:
PHP version:
MySQL version:
Piwigo URL: http://

Offline

 

#2 2017-03-31 00:21:20

kevin123
Member
2017-03-29
3

Re: piwecard

Update:  i changed line 540  in piwecard.class.php  from -  mail($email_infos['to'], $subject, $message, $headers);

to: ini_set($email_infos['to'], $subject);
         ini_set($message, $headers);

and now i get no errors.  it just goes directly back to the picture page (after i fill out the form)  with no confirmation alert and nothing gets sent by email. but everything shows up in the administration as a card sent.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact