| Re: oledrion: phpmailer postSend() not returning - stuck in try loop |
| by Yurdal on 2019/12/9 18:35:10 @rossb Really good work, someone has to give this modules a new live, as now most of the modules are not godd or not functioning any more I'm afraid I cant help with code but if there any need to test environment I can help |
| Re: oledrion: phpmailer postSend() not returning - stuck in try loop |
| by rossb on 2019/12/9 13:32:17 figured out you're really busy - not rocket science. when you do get around to oledrion, hopefully only tasks remaining: - code review my RC2 changes - will send U patches - theming needs serious work ...B |
| Re: oledrion: phpmailer postSend() not returning - stuck in try loop |
| by Mamba on 2019/12/9 0:20:30 Please keep up posted on your progress. I don't think, I'll have the time to dive into Oledrion before Christmas, but maybe somebody else could help.... |
| Re: oledrion: phpmailer postSend() not returning - stuck in try loop |
| by Mamba on 2019/12/8 4:21:46 Bill, for code, please use [ code] your code here [/code] instead of ``` your code here ``` There is a button for it: < /> If you do it manually, please remove the space after the [ |
| Re: oledrion: phpmailer postSend() not returning - stuck in try loop |
| by rossb on 2019/12/7 16:56:46 Found a workaround. May be xoops-2.5.9 bug /class/mail/phpmailer/class.phpmailer.php, alter function (comment stuff): le="color: #000000"><?php public function postSend() { try { // Choose the mailer and send through it switch ($this->Mailer) { case 'sendmail': case 'qmail': return $this->sendmailSend($this->MIMEHeader, $this->MIMEBody); case 'smtp': return $this->smtpSend($this->MIMEHeader, $this->MIMEBody); case 'mail': return $this->mailSend($this->MIMEHeader, $this->MIMEBody); default: //$sendMethod = $this->Mailer.'Send'; //if (method_exists($this, $sendMethod)) { // return $this->$sendMethod($this->MIMEHeader, $this->MIMEBody); //} //file_put_contents(OLEDRION_GATEWAY_LOG_PATH, "!" , FILE_APPEND | LOCK_EX); return $this->mailSend($this->MIMEHeader, $this->MIMEBody); } } catch (phpmailerException $exc) { $this->setError($exc->getMessage()); $this->edebug($exc->getMessage()); if ($this->exceptions) { throw $exc; } } return false; } since le="color: #000000"><?php $this->$sendMethod($this->MIMEHeader, $this->MIMEBody); does not return, causes exception with no error text. ...B |