I am using egroupware 1.6 and I have configured my SMTP server with autentication and no encription.
But egroupware doesn’t send any e-mails and don’t give any error messagens.
How can I test the SMTP server by the egroupware platform and where do I see any possibel error messagens?
Thanks in adavance
In felamimail/inc/class.bocompose.inc.php there is a line #$mail->SMTPDebug = 10; (around line 1069) remove the # save try again. after that, more info should be available. This works only, if the compose window is not closing. If you click on send within the compose window, and the compose window is closing, then the message is successfully passed to the smtp-server. After that the maillog may help. regards Klausi
I am tring to use mail function in the tracker application. I would like to receve a e-mail every time that a task change state.
I am not using the Felamimail application, is necessáry use this aplication so the other functionality works?
Thanks
no, but notifications is a requirement for sure, and emailadmin is one as well, as far as I know . you have to configure and set the preferences for notifications; else no notification is sent. regards klausi
Thanks Klausi,
I didn’t have the notifications active but after I change still do not work.
I tryed to activate Felamimail (for test) the icon appears but when I go to that application is open a white browser
Any ideas?
If it is a white browser there is bound to be a fatal error to be found with the webservers error-log. Most probably a missing php-imap library thinggy. If you dont need felamimail, dont activate it. For notification the settings viewable and editable with the emailadmin should be sufficient. you must configure the authentication user AND password, and maybe an emailaddress, wich is owned by the user used for authentication. you may try and set the SMTPDebug value in phpgwapi/inc/class.phpmailer.inc.php to true. This will echo Debug Output to the window causing the action. So this may help, or not depending if the window gets refreshed or not.
You found the error
[Tue Dec 02 14:48:54 2008] [error] [client 10.0.0.3] Error: notification of receiver asantos failed for the following reasons:, referer: http://10.0.0.203/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=36
[Tue Dec 02 14:48:54 2008] [error] [client 10.0.0.3] notifications_email failed: Failed sending notification message via email., referer: http://10.0.0.203/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=36
Any ideas ?
No, we found only the message with the error_log. Now you have to enable debugging with the phpmailer class as it is used by the send class, which is used by the notifications_email class. Try this line throw new Exception(“Failed sending notification message via email.$error”.print_r($this->mail->error,true)); in line 107 of notifications/inc/class.notifications_email.inc.php for a start.
Hi,
I made what you told me:
if(!$error=$this->mail->Send()) { throw new Exception(“Failed sending notification message via email.$error”.print_r($this->mail->error,true)); }
But the error message is the same : /
[Tue Dec 02 16:02:38 2008] [error] [client 10.0.0.3] Error: notification of receiver asantos failed for the following reasons:, referer: http://10.0.0.203/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=36
[Tue Dec 02 16:02:38 2008] [error] [client 10.0.0.3] notifications_email failed: Failed sending notification message via email., referer: http://10.0.0.203/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=36
Hmmm check with your mailservers maillog, if there is any communication.
you may try setting the SMTPDebug to true just before the “if” like this:
$this->mail->SMTPDebug=true; if(!$error=$this->mail->Send()) {
no idea if this works for notification.
No changes
[Tue Dec 02 17:50:55 2008] [error] [client 10.0.0.3] Error: notification of receiver asantos failed for the following reasons:, referer: http://10.0.0.203/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=36
[Tue Dec 02 17:50:55 2008] [error] [client 10.0.0.3] notifications_email failed: Failed sending notification message via email., referer: http://10.0.0.203/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=36
The problem is that the $error doesn’t have any thing inside?
Thanks for the efford.
Try ErrorInfo