Changeset 16 for trunk/expressoMail1_2


Ignore:
Timestamp:
04/24/07 17:30:15 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

Location:
trunk/expressoMail1_2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.phpmailer.php

    r2 r16  
    496496        if(count($bad_rcpt) > 0) // Create error message 
    497497        { 
     498                $smtp_code_error = substr($this->smtp->error['smtp_msg'], 0, 5); 
    498499            for($i = 0; $i < count($bad_rcpt); $i++) 
    499500            { 
     
    501502                $error .= $bad_rcpt[$i]; 
    502503            } 
    503             $error = $this->Lang("recipients_failed") . $error; 
     504            if ($smtp_code_error == '5.7.1') 
     505                $error = $this->Lang("not_allowed") . $error; 
     506            else 
     507                $error = $this->Lang("recipients_failed") . $error; 
    504508            $this->SetError($error); 
    505509            $this->smtp->Reset(); 
  • trunk/expressoMail1_2/setup/phpmailer.lang-br.php

    r2 r16  
    1919        $PHPMAILER_LANG["file_open"] = 'Erro de Arquivo: N&atilde;o foi poss&iacute;vel abrir o arquivo: '; 
    2020        $PHPMAILER_LANG["encoding"] = 'Codifica&ccedil;&atilde;o desconhecida: '; 
     21        $PHPMAILER_LANG["not_allowed"] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para enviar emails para: '; 
    2122?> 
    2223 
Note: See TracChangeset for help on using the changeset viewer.