gromox icon indicating copy to clipboard operation
gromox copied to clipboard

Email which is sended as "send later" stay's in the outbox and will never be sended

Open mniehren opened this issue 10 months ago • 3 comments

Hi,

subject say's it all. Create an new Mail in the Webapp with "send later" and you see the issue ...

mniehren avatar Feb 03 '25 15:02 mniehren

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?

crpb avatar Feb 03 '25 17:02 crpb

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

mniehren avatar Feb 03 '25 18:02 mniehren

@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.

mniehren avatar Feb 03 '25 19:02 mniehren

Fixed with commit 940b499.

umgfoin avatar Oct 24 '25 09:10 umgfoin