gromox
gromox copied to clipboard
Email which is sended as "send later" stay's in the outbox and will never be sended
Hi,
subject say's it all. Create an new Mail in the Webapp with "send later" and you see the issue ...
I just tried here and see the following
/var/lib/gromox/timer.txt
....
2 1738602900 /usr/bin/php\ /usr/share/gromox/sa/submit.php\ [email protected]\ 328869
2 0 EXEC-FAILURE
gromi:/var/lib/gromox # journalctl --since 18:14 --until 18:16
...
Feb 03 18:15:00 gromi zcore[16229]: rhost=[]:0 [email protected] zs_logon rejected: Authentication rejected
Feb 03 18:15:00 gromi timer[18724]: PHP Fatal error: Uncaught TypeError: mapi_openentry(): Argument #1 ($ses) must be of type resource, bool given in /usr/share/gromox/sa/submit.php:28
Feb 03 18:15:00 gromi timer[18724]: Stack trace:
Feb 03 18:15:00 gromi timer[18724]: #0 /usr/share/gromox/sa/submit.php(28): mapi_openentry()
Feb 03 18:15:00 gromi timer[18724]: #1 {main}
Feb 03 18:15:00 gromi timer[18724]: thrown in /usr/share/gromox/sa/submit.php on line 28
...
@mniehren you got something similiar?
Re: [grommunio/gromox] Email which is sended as "send later" stay#039;s in the outbox and will never be sended (Issue #129)
exact the same here
@crpb It seem's for me that in the line 23 of submit.php $session = mapi_logon_ex($argv[1], null, 0); failed.
If i hardcoded my password instead of "null" it work's.
Fixed with commit 940b499.