Changeset 19 for trunk/expressoMail1_2
- Timestamp:
- 04/27/07 17:25:27 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.phpmailer.php
r16 r19 496 496 if(count($bad_rcpt) > 0) // Create error message 497 497 { 498 $smtp_code_error = substr($this->smtp->error['smtp_msg'], 0, 5); 498 //Postfix version 2.3.8-2 499 $smtp_code_error = substr($this->smtp->error['smtp_msg'], 0, 5); 500 //Postfix version 2.1.5-9 501 $array_error = explode(":", $this->smtp->error['smtp_msg']); 502 499 503 for($i = 0; $i < count($bad_rcpt); $i++) 500 504 { … … 502 506 $error .= $bad_rcpt[$i]; 503 507 } 504 if ( $smtp_code_error == '5.7.1')508 if (($smtp_code_error == '5.7.1') || (trim($array_error[2]) == 'Access denied')) 505 509 $error = $this->Lang("not_allowed") . $error; 506 510 else
Note: See TracChangeset
for help on using the changeset viewer.