![]() |
|
mailing with phpmailer through GMAIL smtp - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: mailing with phpmailer through GMAIL smtp (/thread-9685.html) |
mailing with phpmailer through GMAIL smtp - Specter1981 - 2012-02-24 Hello, I have tried and checked the forums and google and can't find a way to configure mailing for zenphoto. After the installation I setup the admin user and a few options like the private server option (meaning that only registered users can access it and I left only the registration page visible to the public - from zenphoto options-). I went on the app and saw no way to register a new account - activated the plugin "register_user" and then advanced a bit more and saw it wasn't sending mails. So I looked on the forums and saw I needed more plugins, so I activated PHPMailer. My objective was to configure my gmail address for sending mails at user registration, comments, etc. I checked and double checked all settings but still don't know what's wrong. A quick recap: 1.objective - have a zenphotos app that allows private users to be created and only those can access the albums within Please help if you can mailing with phpmailer through GMAIL smtp - fretzl - 2012-02-27 Sorry to respond so late. mailing with phpmailer through GMAIL smtp - Specter1981 - 2012-02-27 Hello, Thank you for the answer - better late than never, that's what I always say. Ok so I ticked off the php mailer and left only the plugin you indicated. Now when I create an account zenphoto says it's all good but after about ten minutes I haven't received any mail (also, nothing in spam). I will wait a while longer and this evening when I get back home I will also check the error logs. But anyways, I haven't found any place to setup zenphoto_sendmail for it to use gmail as a smtp server - how exactly has it successfully sent the verification mail? mailing with phpmailer through GMAIL smtp - acrylian - 2012-02-27 The sendmail plugin cannot be setup to use an external mailing service. If used the mails are send via your server, that's its purpose. Otherwise you need to use the phpmailer plugin. mailing with phpmailer through GMAIL smtp - fretzl - 2012-02-27 I found a solution that works for me but you have to modify the Open .../zp-core/zp-extensions/PHPmailer.php. In your SMTP settings use port 587 (like it says in mailing with phpmailer through GMAIL smtp - sbillard - 2012-02-27 Great info. We will add an option for tsl for the next release. mailing with phpmailer through GMAIL smtp - Specter1981 - 2012-02-28 Thank you for your answers. I tried the solution that fretzl suggested but unfortunately when I tried to create the user again I got the following warning and error: Warning: stream_socket_enable_crypto(): this stream does not support SSL/crypto in zenphoto/zp-core/zp-extensions/PHPMailer/class.smtp.php on line 197 Language string failed to load: tls Registration failed. Any ideas why? mailing with phpmailer through GMAIL smtp - sbillard - 2012-02-28 The error sounds like your serve is not configured for SSL/TSL handling. mailing with phpmailer through GMAIL smtp - Specter1981 - 2012-02-29 sbillard, is that supposed to be installed by me on the linux box? Not something included in the plugin? mailing with phpmailer through GMAIL smtp - Specter1981 - 2012-02-29 ok I searched the error and found out what you meant - to solve it I enabled
now all works as it is supposed to, I was finally able to create the account. Thanks to all who've helped |