Discussion and tips - comments Discussion and tips 2023-10-18T06:51:52Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment152 2023-10-18T06:51:52Z <p>I already have use it on 5.X with success.</p> <p>Seems you load the bad config here ? 1st time i see this , and surely not limited to sendMailCron. <br class="autobr" /> You load your config.php dynamically ?</p> <p>Can you test</p> <div style="text-align: left;" class="spip_code" dir="ltr"><code>cd /usr/local/lsws/DEFAULT/html/www/survey/<br /> php application/commands/console.php plugin index --target=sendMailCron sendMailCronSimulate=1</code></div> Discussion and tips 2023-10-18T04:41:00Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment151 2023-10-18T04:41:00Z <p>Helloo..<br class="autobr" /> Can Limesurvey version 5 be used?<br class="autobr" /> I have successfully installed in LS Version 5.3.22, but when conducting trials the error appeared below attachment.</p> <div style="text-align: left;" class="spip_code" dir="ltr"><code>php survey/application/commands/console.php plugin index --target=sendMailCron sendMailCronSimulate=1<br /> CDbException: CDbConnection failed to open the DB connection. in /usr/local/lsws/DEFAULT/html/www/survey/framework/db/CDbConnection.php:405<br /> Stack trace:<br /> #0 /usr/local/lsws/DEFAULT/html/www/survey/framework/db/CDbConnection.php(347): CDbConnection->open()<br /> #1 /usr/local/lsws/DEFAULT/html/www/survey/framework/db/CDbConnection.php(325): CDbConnection->setActive()<br /> #2 /usr/local/lsws/DEFAULT/html/www/survey/framework/base/CModule.php(394): CDbConnection->init()</code></div> Untitled 2022-05-04T06:36:04Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment141 2022-05-04T06:36:04Z <p>Deactivate globally (global plugin settings : <a href="https://extensions.sondages.pro/mailing-management/sendmailcron/documentation.html#The-plugin-settings" class="spip_url auto" rel="nofollow">https://extensions.sondages.pro/mailing-management/sendmailcron/documentation.html#The-plugin-settings</a>) and activate by plugin.</p> <p>Or use a specific moment <a href="https://extensions.sondages.pro/mailing-management/sendmailcron/documentation.html#Usage-of-moment" class="spip_url auto" rel="nofollow">https://extensions.sondages.pro/mailing-management/sendmailcron/documentation.html#Usage-of-moment</a> (seems the easiest currently)</p> Untitled 2022-05-04T06:28:56Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment140 2022-05-04T06:28:56Z <p>Hi, I didn't understand however how to send only the invitations of a specific survey if I put the command in the cron.<br class="autobr" /> What settings should I use?</p> Untitled 2022-03-14T15:23:15Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment139 2022-03-14T15:23:15Z <p>Issue in last version of LimeSurvey</p> <p><code class="spip_code" dir="ltr">php yourlimesurveydir/application/commands/console.php plugin index --target=sendMailCron sendMailCronSimulate=1</code></p> <p>I don't know when it's broken, but it work with 4.1.18 and 3.6</p> Untitled 2022-03-14T15:19:02Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment138 2022-03-14T15:19:02Z <p>OK, I see, I tried the cron fro LS v.4, but I have to use this page:<br class="autobr" /> <a href="https://gitlab.com/SondagesPro/mailing/sendMailCron/-/tree/LS3api" class="spip_url spip_out auto" rel="nofollow external">https://gitlab.com/SondagesPro/mailing/sendMailCron/-/tree/LS3api</a><br class="autobr" /> with this structure:<br class="autobr" /> <code class="spip_code" dir="ltr">php yourlimesurveydir/application/commands/console.php plugin cron sendMailCronSimulate=1</code></p> <p>Thanks anyway, Chris</p> Discussion and tips 2022-03-14T12:54:19Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment137 2022-03-14T12:54:19Z <p>Hi, <br class="autobr" /> I just tried to test the plugin as suggested here:<br class="autobr" /> <a href="https://gitlab.com/SondagesPro/mailing/sendMailCron" class="spip_url spip_out auto" rel="nofollow external">https://gitlab.com/SondagesPro/mailing/sendMailCron</a></p> <p><code class="spip_code" dir="ltr">php yourlimesurveydir/application/commands/console.php plugin --target=sendMailCron sendMailCronSimulate=1</code></p> <p>which results in an error message:<br class="autobr" /> Error: Unknown options: sendMailCronSimulate</p> <p>LimeSurvey Version 3.27.35+220208</p> <p>should I use something like this? <br />— option=sendMailCronSimulate=1</p> <p>Thanks in advance, Chris</p> Untitled 2021-01-07T18:04:45Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment131 2021-01-07T18:04:45Z <p>You have plugin settings by survey</p> <p><a href='https://extensions.sondages.pro/mailing-management/sendmailcron/documentation.html#plugin-settings-by-Survey' rel='nofollow'>/mailing-management/sendmailcron/documentation.html#plugin-settings-by-Survey</a></p> Discussion and tips 2021-01-07T16:41:37Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment130 2021-01-07T16:41:37Z <p>Is it possible to use the functionality of this plugin only on certain surveys or is something that has to be activated globally? <br class="autobr" /> Thank you in advance.</p> Untitled 2020-09-03T07:49:46Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment121 2020-09-03T07:49:46Z <p>I see your feature request on mantis.</p> <p>I think we can use <a href="https://gitlab.com/SondagesPro/mailing/eventBeforeTokenEmailExtended/-/blob/master/eventBeforeTokenEmailExtended.php" class="spip_url spip_out auto" rel="nofollow external">https://gitlab.com/SondagesPro/mailing/eventBeforeTokenEmailExtended/-/blob/master/eventBeforeTokenEmailExtended.php</a> plugin to create a new plugin.</p> <p>But : «Administrator email address, we often have cases where the invitations and reminders are sent from an organizational email address» where you see this settings ?</p> <p>Why not use the Administrator email adress (updatable) for the final needed organizational email address ?</p> Discussion and tips 2020-09-02T19:41:29Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment120 2020-09-02T19:41:29Z <p>Do you think it would be possible to add a feature to sendMailCron to allow one to specify a global sending email address (that could then also be overridden at the survey configuration level)?</p> <p>While LS (and this your plugin) uses the Administrator email address, we often have cases where the invitations and reminders are sent from an organizational email address that is different from the survey administrator's address.</p> Untitled 2020-02-21T08:50:13Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment110 2020-02-21T08:50:13Z <p>Can you create the issue at <a href="https://gitlab.com/SondagesPro/mailing/sendMailCron" class="spip_out" rel='nofollow external'>gitlab</a> please ?</p> <p>I can start the update (need a config.xml file) : and if you can test and confirm it work : it can be great.</p> <p>Denis</p> Untitled 2020-02-21T08:40:43Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment109 2020-02-21T08:40:43Z <p>Will there be an update for Limesurvey 4?</p> Untitled 2019-08-20T14:34:02Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment105 2019-08-20T14:34:02Z <p>Can not be related to the plugin : plugin are noty called here.</p> Untitled 2019-08-13T13:28:34Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment104 2019-08-13T13:28:34Z <p>hi thanks for the great plugin!<br class="autobr" /> Can you maybe help? After I try the command like:</p> <div style="text-align: left;" class="spip_code" dir="ltr"><code>php application/commands/console.php plugin cron --interval=1</code></div> <p>i get following error:<br class="autobr" /> <strong>exception 'CDbException' with message 'CDbConnection failed to open the DB connection.' </strong></p> Untitled 2018-01-03T08:56:07Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment84 2018-01-03T08:56:07Z <p>Yes, surely, but</p> <p>1. i wait for 3.0 stabilization , currently we <a href="https://bugs.limesurvey.org/view.php?id=13086#c45391" class="spip_out" rel='nofollow external'>can not update a 2.72 to 3.0</a> for example<br class="autobr" /> 2. And it's surely a new major version (have a 2+3 compatible version for any plugin is more complex see <a href="https://bugs.limesurvey.org/view.php?id=13090" class="spip_out" rel='nofollow external'>bug1</a> and <a href="https://bugs.limesurvey.org/view.php?id=13091" class="spip_out" rel='nofollow external'>bug2</a>.</p> Untitled 2018-01-02T21:18:31Z https://extensions.sondages.pro/mailing-management/sendmailcron/discussion-and-tips#comment83 2018-01-02T21:18:31Z <p>Hey, thanks for this great plugin! Are you planning on updating this for compatibility with LS3?</p>