SMTP::getLastReply() should be populated with last server reply, no matter what it was
SMTP::getLastReply() should be populated with last server reply, no matter what it was

The SMTP::getLastReply() result is not populated in case of server error.
Truth be said, it should, for consistency's sake at the very least.
But real reason is that writing something like 

      if(!$inst->data($_message))
        throw new Exception('DATA command unsuccessful. Last server reply: ' . $inst->getLastReply());

is an order of magnitude cleaner, than a tantric dance with array values (you have to turn SMTP::getError() method call into variable somewhere first, too!)…

One day, someone have to turn all this into proper exceptions...
jesus143/PHPMailer,mperezch/PHPMailer,TylerB24890/PHPMailer,Fleabite08/PHPMailer,bruno-oliveira/PHPMailer,aStoneMan/PHPMailer,PunchyRascal/PHPMailer,sherryl4george/PHPMailer,FernandoDantas/PHPMailer,yaoshanliang/PHPMailer,it2048/PHPMailer,namepros/PHPMailer,husnixs/PHPMailer,admpub/PHPMailer,euricardo/PHP_CLASS_SMTP,XEngine/PHPMailer,ecordoba24/PHPMailer,MrDarkSkil/PHPMailer,Dubz/PHPMailer,martinvd/PHPMailer,lymos/PHPMailer,jesus143/PHPMailer,mrbellek/PHPMailer,emaiqi/PHPMailer,eboominathan/PHPMailer,ravisorg/PHPMailer,feedbackcloud/PHPMailer,ThatGuy986/PHPMailer,ashenp/PHPMailer,mediware/PHPMailer-1,michield/PHPMailer,ezequielbrrt/PHPMailer,xFanly/PHPMailer,barcadictni/PHPMailer,hayageek/PHPMailer,PHPMailer/PHPMailer,iorikiir/PHPMailer,JesusTheHun/PHPMailer,lymos/PHPMailer,mrbellek/PHPMailer,aStoneMan/PHPMailer,feedbackcloud/PHPMailer,mialy/PHPMailer,barcadictni/PHPMailer,cnhanyi/PHPMailer,ezequielbrrt/PHPMailer,mklmvm/PHPMailer,emaiqi/PHPMailer,jesus143/PHPMailer,Gerardo-junior/PHPMailer,unk1nd/PHPMailer,eug17/PHPMailer,chenlian2015/phpmailer,LucasKr/PHPMailer,PeterDaveHello/PHPMailer,it2048/PHPMailer,ravisorg/PHPMailer,unk1nd/PHPMailer,euricardo/PHP_CLASS_SMTP,amitection/PHPMailer,eug17/PHPMailer,tabinho/PHPMailer,iorikiir/PHPMailer,xFanly/PHPMailer,MrDarkSkil/PHPMailer,gn0st1k4m/PHPMailer,mialy/PHPMailer,kayi920312/PHPMailer,amitection/PHPMailer,Nibbels/PHPMailer,Rebelllious/PHPMailer,frederikbosch/PHPMailer,Rebelllious/PHPMailer,bruno-oliveira/PHPMailer,Synchro/PHPMailer,Setibi/PHPMailer,henrytran9x/PHPMailer,jophetcamacho/PHPMailer,iFixit/PHPMailer,androidKaKa/PHPMailer,fercabr/PHPMailer,hsnunes/PHPMailer,PYuen1029/PHPMailer,mperezch/PHPMailer,mperezch/PHPMailer,Dyonigi/PHPMailer,barcadictni/PHPMailer,bertpoort/PHPMailer,tbrown0139/PHPMailer,Nibbels/PHPMailer,suman0359/PHPMailer,Gerardo-junior/PHPMailer,unk1nd/PHPMailer,SkyfirePHP/PHPMailer,barcadictni/PHPMailer,jesus143/PHPMailer,eug17/PHPMailer,Dyonigi/PHPMailer,jessiegibson/PHPMailer,javedmehr/PHPMailer,grovesr/PHPMailer,PeterDaveHello/PHPMailer,hsnunes/PHPMailer,Setibi/PHPMailer,raosid/PHPMailer,admpub/PHPMailer,d1mobile/PHPMailer,jophetcamacho/PHPMailer,manueltarga/PHPMailer,mubassirhayat/PHPMailer,nkumar1990/PHPMAIL,Setibi/PHPMailer,d1mobile/PHPMailer,manueltarga/PHPMailer,jimjag/PHPMailer,cnhanyi/PHPMailer,Fleabite08/PHPMailer,royopa/PHPMailer,gabalis/PHPMailer,2braincells2go/PHPMailer,androidKaKa/PHPMailer,TylerB24890/PHPMailer,mubassirhayat/PHPMailer,iFixit/PHPMailer,rotdrop/PHPMailer-cafevdb,royopa/PHPMailer,bertpoort/PHPMailer,Rebelllious/PHPMailer,manueltarga/PHPMailer,blazoncek/PHPMailer,huang53798584/PHPMailer,aStoneMan/PHPMailer,rotdrop/PHPMailer-cafevdb,emaiqi/PHPMailer,javedmehr/PHPMailer,blazoncek/PHPMailer,admpub/PHPMailer,Rebelllious/PHPMailer,amitection/PHPMailer,amitection/PHPMailer,eboominathan/PHPMailer,manueltarga/PHPMailer,kayi920312/PHPMailer,namepros/PHPMailer,nkumar1990/PHPMAIL,BgR8/PHPMailer,kayi920312/PHPMailer,iorikiir/PHPMailer,Fleabite08/PHPMailer,xFanly/PHPMailer,rizwan95/PHPMailer,chenlian2015/phpmailer,it2048/PHPMailer,grovesr/PHPMailer,mediware/PHPMailer-1,martinvd/PHPMailer,bruno-oliveira/PHPMailer,raosid/PHPMailer,ezequielbrrt/PHPMailer,mperezch/PHPMailer,davidwoods2992/PHPMailer,pingyen/PHPMailer,emaiqi/PHPMailer,husnixs/PHPMailer,gabalis/PHPMailer,ecordoba24/PHPMailer,LucasKr/PHPMailer,ashenp/PHPMailer,JesusTheHun/PHPMailer,agcgroup/project1,nawawi/PHPMailer,praveen2014/PHPMailer,gabalis/PHPMailer,royopa/PHPMailer,Gerardo-junior/PHPMailer,unk1nd/PHPMailer,Oiro/PHPMailer,rizwan95/PHPMailer,Seanmcn/PHPMailerNS,FinnOConnor/PHPMailer,nawawi/PHPMailer,markot84/PHPMailer,vladimir-lv/PHPMailer,pingyen/PHPMailer,praveen2014/PHPMailer,nkumar1990/PHPMAIL,raosid/PHPMailer,jimjag/PHPMailer,ThatGuy986/PHPMailer,xFanly/PHPMailer,aStoneMan/PHPMailer,dottobr83/PHPMailer,jophetcamacho/PHPMailer,gabalis/PHPMailer,fercabr/PHPMailer,henrytran9x/PHPMailer,Gerardo-junior/PHPMailer,Setibi/PHPMailer,euricardo/PHP_CLASS_SMTP,fercabr/PHPMailer,yaoshanliang/PHPMailer,yaoshanliang/PHPMailer,PeterDaveHello/PHPMailer,mklmvm/PHPMailer,mklmvm/PHPMailer,ThatGuy986/PHPMailer,mklmvm/PHPMailer,tbrown0139/PHPMailer,XEngine/PHPMailer,BgR8/PHPMailer,dottobr83/PHPMailer,agcgroup/project1,dgleba/PHPMailer,huang53798584/PHPMailer,davidwoods2992/PHPMailer,vladimir-lv/PHPMailer,markot84/PHPMailer,tabinho/PHPMailer,mrbellek/PHPMailer,euricardo/PHP_CLASS_SMTP,nkumar1990/PHPMAIL,d1mobile/PHPMailer,Oiro/PHPMailer,mubassirhayat/PHPMailer,chenlian2015/phpmailer,eboominathan/PHPMailer,agcgroup/project1,agcgroup/project1,tabinho/PHPMailer,bruno-oliveira/PHPMailer,serakkkk/PHPMailer,feedbackcloud/PHPMailer,fercabr/PHPMailer,XEngine/PHPMailer,XEngine/PHPMailer,FernandoDantas/PHPMailer,gn0st1k4m/PHPMailer,sherryl4george/PHPMailer,SkyfirePHP/PHPMailer,henrytran9x/PHPMailer,ezequielbrrt/PHPMailer,kayi920312/PHPMailer,d1mobile/PHPMailer,eboominathan/PHPMailer,eug17/PHPMailer,brees01/PHPMailer,brees01/PHPMailer,michield/PHPMailer,Fleabite08/PHPMailer,FernandoDantas/PHPMailer,rotdrop/PHPMailer-cafevdb,henrytran9x/PHPMailer,mrbellek/PHPMailer,PYuen1029/PHPMailer,tabinho/PHPMailer,PunchyRascal/PHPMailer,jophetcamacho/PHPMailer,FernandoDantas/PHPMailer,dgleba/PHPMailer,raosid/PHPMailer,ThatGuy986/PHPMailer,PHPMailer/PHPMailer,yaoshanliang/PHPMailer,feedbackcloud/PHPMailer,admpub/PHPMailer,FinnOConnor/PHPMailer,frederikbosch/PHPMailer,suman0359/PHPMailer,iorikiir/PHPMailer,jessiegibson/PHPMailer,serakkkk/PHPMailer,royopa/PHPMailer,hayageek/PHPMailer,rotdrop/PHPMailer-cafevdb,2braincells2go/PHPMailer,it2048/PHPMailer,Dubz/PHPMailer,Synchro/PHPMailer,PeterDaveHello/PHPMailer