- Timestamp:
- 05/09/11 17:55:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.2.0.2/expressoMail1_2/inc/class.imap_functions.inc.php
r4169 r4291 2068 2068 { 2069 2069 if($certificado->dados['EXPIRADO']) $erros_acumulados .='Certificado expirado.'; 2070 if($certificado->dados['CPF'] != $this->username) $erros_acumulados .=' CPF no certificado diferente do logado no expresso.'; 2070 $this->cpf = isset($GLOBALS['phpgw_info']['server']['certificado_atributo_cpf'])&&$GLOBALS['phpgw_info']['server']['certificado_atributo_cpf']!=''?$_SESSION['phpgw_info']['expressomail']['user'][$GLOBALS['phpgw_info']['server']['certificado_atributo_cpf']]:$this->username; 2071 if($certificado->dados['CPF'] != $this->cpf) $erros_acumulados .=' CPF no certificado diferente do logado no expresso.'; 2071 2072 if(!($certificado->dados['KEYUSAGE']['digitalSignature'] && $certificado->dados['EXTKEYUSAGE']['emailProtection'])) $erros_acumulados .=' Certificado nao permite assinar mensagens.'; 2072 2073 } … … 2139 2140 $mail->AddReplyTo($replytoaddress); 2140 2141 $mail->Subject = $subject; 2141 $mail->IsHTML( $params['type'] != 'textplain');2142 $mail->IsHTML( ( array_key_exists( 'type', $params ) && in_array( strtolower( $params[ 'type' ] ), array( 'html', 'plain' ) ) ) ? strtolower( $params[ 'type' ] ) != 'plain' : true ); 2142 2143 $mail->Body = $body; 2143 2144
Note: See TracChangeset
for help on using the changeset viewer.