ZenphotoCMS Forum
phpmailer/zenphoto_mailer problem - 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: phpmailer/zenphoto_mailer problem (/thread-7212.html)



phpmailer/zenphoto_mailer problem - coopermarsh - 18-06-2010

Hi keep geting this message with the phpmailer and zenphoto_mailer script

A tool to send e-mails to all registered users who have provided an e-mail address. There is always a copy sent to the current admin and all e-mails are sent as blind copies.

Warning: Invalid argument supplied for foreach() in /public_html/zenphoto/zp-core/zp-extensions/zenphoto_sendmail.php on line 19

Warning: Invalid argument supplied for foreach() in public_html/zenphoto/zp-core/zp-extensions/PHPMailer.php on line 129

Mail sent.




phpmailer/zenphoto_mailer problem - acrylian - 18-06-2010

Do the other users have provide emails? Are both mailing plugins configured correctly?




phpmailer/zenphoto_mailer problem - coopermarsh - 18-06-2010

The other users have email addresses. the phpmailer plugin has been setup using the crendtials from my email hosting.

I could not find any settings for zenphoto_sendmail

i do however recive th email into the email account setup as the site admin




phpmailer/zenphoto_mailer problem - acrylian - 18-06-2010

Hm, no idea currently. When I made this I had tested it on my live server and it did work.. I will try again later if I encounter the same so that maybe a bug sneaked in.




phpmailer/zenphoto_mailer problem - acrylian - 18-06-2010

I have just tried at least with zenphoto_sendmail and it works on my host (haven't tried phpmailer yet though). Is any site email address set under Options > General?




phpmailer/zenphoto_mailer problem - coopermarsh - 18-06-2010

yes there is an email address under site email. i have it the same as the admin email.

with just zenphoto_sendmail selected as a plugin i still get th error

Warning: Invalid argument supplied for foreach() in /home/justincm/public_html/zenphoto/zp-core/zp-extensions/zenphoto_sendmail.php on line 19




phpmailer/zenphoto_mailer problem - sbillard - 19-06-2010

This error is an indication that the 'cc list' parameter to the mailing function is corrupt. What are the circumstances that this occurs? What version of Zenphoto?




phpmailer/zenphoto_mailer problem - sbillard - 19-06-2010

Found some bad code in the user_mailing_list utility. If that is what you were using, the fix is in tonight's build.




phpmailer/zenphoto_mailer problem - coopermarsh - 21-06-2010

i am using zenphoto

Zenphoto version 1.3 [5479] (Official Build)
Current gallery theme: Zenpage
PHP version: 5.2.13
Graphics support: PHP GD library bundled (2.0.34 compatible)
PHP memory limit: 96M (Note: Your server might allocate less!)
MySQL version: 5.0.87




phpmailer/zenphoto_mailer problem - coopermarsh - 21-06-2010

I am using the user_mailing_list utility.

A always get the email to the site admin regardless of the email address i use. None of the other recipients receive a mail. I use the user mailing list function of the overview page




phpmailer/zenphoto_mailer problem - acrylian - 21-06-2010

Please try the nightly build then (link on download page)




phpmailer/zenphoto_mailer problem - coopermarsh - 21-06-2010

How is the best way tyo install this?

Just copy over the top of the current build




phpmailer/zenphoto_mailer problem - acrylian - 21-06-2010

Follow the normal update instructions on our site.




phpmailer/zenphoto_mailer problem - coopermarsh - 21-06-2010

Thanks

I have updated the installation as per the upgrading instructiosn.

I can now successfully send mails.

Thanks for all your help.