ZenphotoCMS Forum
notification emails - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: notification emails (/thread-13870.html)



notification emails - jwaltrip4 - 17-08-2023

2 websites... same server. same config on both websites.

one website sends emails when comments added, etc.

the other does not.....

Both using zenphoto_sendmail

Both have email address listed in options--> general (same email address.




notification emails - fretzl - 17-08-2023

Admin -> Plugins -> comment_form -> option Enable comment notification




notification emails - jwaltrip4 - 17-08-2023

heh.... I cannot get it to stick. I set it. Apply, then exit. when I go back... it is unchecked




notification emails - acrylian - 17-08-2023

What do the logs say?




notification emails - jwaltrip4 - 17-08-2023

More info:
Enable Comment form. Click Apply. Exit

Open website, comment on picture. Message is "No “to” address list provided."

Comment form is now unchecked.

I do have an email address defined in General

Log has nothing in it but:
USER DEPRECATED NOTICE: mb_strlen (called from admin-functions.php line 302) is deprecated. Install the native PHP extensions multibyte and icon on your server or ask your host about it in /mnt/Disk1/www/cms.brownleefamily.us/zp-core/functions/functions-basic.php on line 2106




notification emails - acrylian - 17-08-2023

I do have an email address defined in General

Does that general email adress actually exist? Is your server actually setup for sendmail mailing properly? Sometimes the mail must exist on the server. Again, I can't help with actual server config.

Otherwise try the phpmailer plugin instead.

Regarding the deprecation. You should of course do what it suggest sometime ;-) I don't believe this is involved here though.




notification emails - jwaltrip4 - 17-08-2023

Email exists.

I have tested sednmail.

I have 2 sites... cms.waltrips.com, and cms.brownleefamily.us. Both are set up identically. waltrips works. brownleefamily does not.




notification emails - acrylian - 17-08-2023

All the same server I assume? Do other mails work with Zenphoto? Try sending a mail via the user mailing list plugin please.




notification emails - jwaltrip4 - 17-08-2023

yes, same server

will test mailing list shorlty




notification emails - jwaltrip4 - 17-08-2023

Yes. mailing list works.




notification emails - jwaltrip4 - 17-08-2023

Interesting.... I appled the PHP Multibye extenstions... and now the mail issue is fixed.




notification emails - acrylian - 18-08-2023

PHp 8+ - if you use that - got a little picky regarding type casting of variable values (string vs integer etc) so small things sometimes disturb that that on PHP 7 and earlier were never issues.

It is good to have it because in the future our fallback will be gone at some time.




notification emails - jwaltrip4 - 18-08-2023

ya... running PHP 8. Not sure what the heck happened... but the mail feature is working just fine now.

Also.. log files are clean.




notification emails - acrylian - 18-08-2023

Good, either the mbstring deprecation really interfered somehow or it was just "glitch"…




notification emails - jwaltrip4 - 21-08-2023

ya... In fact I just realized I was running PHP 7.4 (everything was working) today. Updated on my test instrnace, then updated my sites. mail still working.

Question. Is there any reason to keep deprecated-function installed?




notification emails - acrylian - 22-08-2023

Question. Is there any reason to keep deprecated-function installed?

Deprecated functions are removed with the next major release as indicated on the source code. But not within bugfix or minor release because that may break things.

The notice does not tell about when they are removed but the source code does and the listing on the functions doc.
https://docs.zenphoto.org/1.6.x/reports/deprecated.html

If you were referring to the plugin of the same name that is itself deprecated. That does only cover some legacy deprecations (see 1.6. release notes). If you are sure don't use any of these you can of coursre disable it. All others deprecations cannot be disabled.