Changeset 755 for tags


Ignore:
Timestamp:
04/22/09 11:35:22 (10 years ago)
Author:
niltonneto
Message:

Resolve #476

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/expressoMail1_2/1.233/inc/class.smtp.php

    r117 r755  
    384384            return false; 
    385385        } 
    386         return $code == 250 ? substr($rply,-13) : true; 
     386        else { 
     387                // Response from SMTP => "250 2.0.0 Ok: queued as AAAAAAAAAA" 
     388                $idx = strcspn($rply,"as"); 
     389                $message_id = substr($rply,$idx+3); 
     390                // $message_id = AAAAAAAAAA 
     391                return $message_id ? $message_id : true; 
     392        } 
    387393    } 
    388394 
Note: See TracChangeset for help on using the changeset viewer.