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
Added a configuration option to force all mail go through local sendmail transport.
This allows mail to work on restrictive shared hosting