- if ( !assureLocalConnection() && target != null) {
- target.sendmail(to, subject, message, from, replyto, toname, fromname, errorsto, extra);
+ if ( !ensureLocalConnection() && getTarget() != null) {
+ super.sendMail(to, subject, message, from, replyto, toname, fromname, errorsto, extra);