Sendmail transport - #4
Conversation
|
Any comment ? |
|
|
||
| if (!empty($GLOBALS['egw_info']['server']['sendmail']) || | ||
| !empty($api_config['sendmail'])) | ||
| { |
There was a problem hiding this comment.
Why do you add that code?
Your $api_config is identical to $GLOBALS['egw_info']['server'].
There was a problem hiding this comment.
Because I didn't found a way to make the changes in config file persistant across setup.php usage ; so I moved to DB configuration to have an in-browser configuration
There was a problem hiding this comment.
It's the same thing, first thing EGroupware does is to read what you call DB configuration into $GLOBALS['egw_info']['server'] to the stuff already there from the header.inc.php.
So please remove/revert that, as it is unnecessary.
There was a problem hiding this comment.
Ok, thanks (I did not knew that)
|
Sorry, was quite busy moving our whole hosting to an other infrastructure provider. If we implement sendmail transport as a global config, which is probably the right thing to do, if provider blocks outgoing SMTP ports, we should also skip SMTP step in wizard: https://github.com/EGroupware/egroupware/blob/master/admin/inc/class.admin_mail.inc.php#L567 and disable SMTP tab in mail account editing: Ralf |
|
Same thing I said above is true for your new "Skip SMTP configuration..." commit, no need to read $app_config again, it is already in $GLOBALS['egw_info']['server']. |
…hen don't need to run Api\Config::read('phpgwapi')
|
Hello, Will this merge request have a chance to be merged ? |
|
Sorry, did not found time to test it yet. The change makes sense to me, so if it works, I'm happy to merge it. Ralf |
… string given" updating calendar from 14.2.002
… string given" updating calendar from 14.2.002
…mpty or a single character
…mpty or a single character
…a DateTime (TypeError): calendar_bo::read(): Argument #2 ($date) must be of type EGroupware\Api\DateTime|int|null, string given, called in /var/www/epl-26/calendar/inc/class.calendar_boupdate.inc.php on line 2090 (0) [07-Aug-2026 08:13:47 UTC] File: /calendar/inc/class.calendar_bo.inc.php, Line: 1132 [07-Aug-2026 08:13:47 UTC] #0 /var/www/epl-26/calendar/inc/class.calendar_boupdate.inc.php(2090): calendar_bo->read() [07-Aug-2026 08:13:47 UTC] #1 /var/www/epl-26/calendar/inc/class.calendar_boupdate.inc.php(2170): calendar_boupdate->set_status() [07-Aug-2026 08:13:47 UTC] #2 /var/www/epl-26/calendar/inc/class.calendar_ical.inc.php(1865): calendar_boupdate->update_status() [07-Aug-2026 08:13:47 UTC] #3 /var/www/epl-26/calendar/inc/class.calendar_import_ical.inc.php(185): calendar_ical->importVCal() [07-Aug-2026 08:13:47 UTC] #4 /var/www/epl-26/importexport/inc/class.importexport_import_ui.inc.php(161): calendar_import_ical->import() [07-Aug-2026 08:13:47 UTC] #5 /var/www/epl-26/api/src/loader/deprecated_factory.php(154): importexport_import_ui->import_dialog() [07-Aug-2026 08:13:47 UTC] #6 /var/www/epl-26/api/src/Etemplate.php(451): ExecMethod()
…a DateTime (TypeError): calendar_bo::read(): Argument #2 ($date) must be of type EGroupware\Api\DateTime|int|null, string given, called in /var/www/epl-26/calendar/inc/class.calendar_boupdate.inc.php on line 2090 (0) [07-Aug-2026 08:13:47 UTC] File: /calendar/inc/class.calendar_bo.inc.php, Line: 1132 [07-Aug-2026 08:13:47 UTC] #0 /var/www/epl-26/calendar/inc/class.calendar_boupdate.inc.php(2090): calendar_bo->read() [07-Aug-2026 08:13:47 UTC] #1 /var/www/epl-26/calendar/inc/class.calendar_boupdate.inc.php(2170): calendar_boupdate->set_status() [07-Aug-2026 08:13:47 UTC] #2 /var/www/epl-26/calendar/inc/class.calendar_ical.inc.php(1865): calendar_boupdate->update_status() [07-Aug-2026 08:13:47 UTC] #3 /var/www/epl-26/calendar/inc/class.calendar_import_ical.inc.php(185): calendar_ical->importVCal() [07-Aug-2026 08:13:47 UTC] #4 /var/www/epl-26/importexport/inc/class.importexport_import_ui.inc.php(161): calendar_import_ical->import() [07-Aug-2026 08:13:47 UTC] #5 /var/www/epl-26/api/src/loader/deprecated_factory.php(154): importexport_import_ui->import_dialog() [07-Aug-2026 08:13:47 UTC] #6 /var/www/epl-26/api/src/Etemplate.php(451): ExecMethod()
Added a configuration option to force all mail go through local sendmail transport.
This allows mail to work on restrictive shared hosting