mail plugin function CreateBinary/Text Attachment is false

When I try to use the mail plugin functions createBinaryAttachment or createTextAttacment I’m suddenly getting an ‘embedded: false’ returned:

var _oAttach = plugins.mail.createBinaryAttachment( "FreightCo_" + hawb_calc + ".txt", _aResult.join("\r\n"),"application/vnd.ms-excel")
if ( plugins.mail.sendMail( _sTo, _sFrom, _sSubject, _sBody, _sCC, _sBCC, _oAttach) ) {
_oAttach name: FreightCo_106188507.txt name: application/vnd.ms-excel datalength: 1155 embedded: false

What does that ‘embedded:false’ mean and why am I suddenly getting it when this has worked perfectly for months now?

We’re just talking the mime type here, right?

I would not say the lives of millions of Bothans are riding on this but two trucks full of freight and arriving today, Monday, are.

Thanks in advance for all your help.

Anyone?

Is there anyway to get back better Error Message Reporting that just Invalid Addresses:

Bill_of_Lading.btnHAWB Send Mail Exception Error: HAWB: 100825100Invalid Addresses

embedded false is the normal value, that only returns true if you use tags where the attachment is used by a tag in an email. (its embedded)

I think we get that InvalidAddress message back from the 3th party mail jar, what stuff do you want to see, maybe we can enhance it a bit.

I would love to see the actual invalid address or addresses. And, if the mail server it’s connecting to returns any information, IP, port, it’s own error message, I would love to see that too!

That would totally help with ‘Invalid addresses’ being too vague because emails sent internally through out mail server are going through but externally are not.

please make a case where you ask for logging a bit more if possible of the mail that was send. The message you get is from the system/mail server. so that is all you get.
So the only thing we can log is of the data we have (so the mail that you do send)