Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter micb

    (@micb)

    Hi,

    Thanks for the update. I took a simpler way, which also works for now for me. But I will keep in mind your plugin which looks great!

    Thanks!

    Thread Starter micb

    (@micb)

    Hi,

    I just added the following lines on line 111 of file OAuthSmtpEngin.php:

    if(!function_exists('str_getcsv')) {
        function str_getcsv($input, $delimiter = ',', $enclosure = '"') {
    
            if( ! preg_match("/[$enclosure]/", $input) ) {
              return (array)preg_replace(array("/^\\s*/", "/\\s*$/"), '', explode($delimiter, $input));
            }
    
            $token = "##"; $token2 = "::";
            //alternate tokens "3434", "3535", "%%";
            $t1 = preg_replace(array("/\\\[$enclosure]/", "/$enclosure{2}/",
                 "/[$enclosure]\\s*[$delimiter]\\s*[$enclosure]\\s*/", "/\\s*[$enclosure]\\s*/"),
                 array($token2, $token2, $token, $token), trim(trim(trim($input), $enclosure)));
    
            $a = explode($token, $t1);
            foreach($a as $k=>$v) {
                if ( preg_match("/^{$delimiter}/", $v) || preg_match("/{$delimiter}$/", $v) ) {
                    $a[$k] = trim($v, $delimiter); $a[$k] = preg_replace("/$delimiter/", "$token", $a[$k]); }
            }
            $a = explode($token, implode($token, $a));
            return (array)preg_replace(array("/^\\s/", "/\\s$/", "/$token2/"), array('', '', $enclosure), $a);
    
        }
    }

    With this change I can send a test email to myself, but usual notifications from the platform are still not sent. Furthermore, my test emails still land in the SPAM folder…

    Thread Starter micb

    (@micb)

    Hi,

    Thanks for the reply, I just posted a Ticket as you requested.

    Thanks very much,
    Michel

Viewing 3 replies - 1 through 3 (of 3 total)