}
try {
if (this.asyncSendQueueBlockOnOverflow)
queue.put(emailData);
else {
boolean added = queue.offer(emailData);
if (!added) {
throw new XmlBlasterException(glob,
ErrorCode.RESOURCE_CONFIGURATION_CONNECT, "SmtpClient",
"Can't send email, queueu overflow of asyncSendQueueSizeMax="+this.asyncSendQueueSizeMax+", there may be a problem with your Smtp server, the mail is lost: " + emailData.toXml(true));
}