phpmailer/zenphoto_mailer problem

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.

Comments

  • acrylian Administrator, Developer
    Do the other users have provide emails? Are both mailing plugins configured correctly?
  • 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
  • acrylian Administrator, Developer
    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.
  • acrylian Administrator, Developer
    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?
  • 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
  • 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?
  • Found some bad code in the user_mailing_list utility. If that is what you were using, the fix is in tonight's build.
  • 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
  • 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
  • acrylian Administrator, Developer
    Please try the nightly build then (link on download page)
  • How is the best way tyo install this?

    Just copy over the top of the current build
  • acrylian Administrator, Developer
    Follow the normal update instructions on our site.
  • Thanks

    I have updated the installation as per the upgrading instructiosn.

    I can now successfully send mails.

    Thanks for all your help.
Sign In or Register to comment.