Member
Member
coopermarsh   18-06-2010, 08:27
#1

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.

Administrator
Administrator
acrylian   18-06-2010, 08:45
#2

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

Member
Member
coopermarsh   18-06-2010, 09:12
#3

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

Administrator
Administrator
acrylian   18-06-2010, 12:30
#4

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.

Administrator
Administrator
acrylian   18-06-2010, 15:23
#5

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?

Member
Member
coopermarsh   18-06-2010, 20:30
#6

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

Member
Member
sbillard   19-06-2010, 01:47
#7

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?

Member
Member
sbillard   19-06-2010, 17:52
#8

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

Member
Member
coopermarsh   21-06-2010, 08:28
#9

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

Member
Member
coopermarsh   21-06-2010, 08:31
#10

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

Administrator
Administrator
acrylian   21-06-2010, 09:03
#11

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

Member
Member
coopermarsh   21-06-2010, 09:14
#12

How is the best way tyo install this?

Just copy over the top of the current build

Administrator
Administrator
acrylian   21-06-2010, 09:30
#13

Follow the normal update instructions on our site.

Member
Member
coopermarsh   21-06-2010, 09:43
#14

Thanks

I have updated the installation as per the upgrading instructiosn.

I can now successfully send mails.

Thanks for all your help.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.