ColdBox 3.0.0 RC1-318-GENESIS-14:14
Not sure if this is a bug or if I'm trying to use it incorrectly but..
When trying to generate an error with MailService by deliberately
leaving the body blank, the rtnStruct.error is false instead of true.
However, the rtnStruct.errorArray has an error message. So for now I'm
just checking the array length for any error since I can't depend on
the error property being set to true, then setting the error property
to true if the length >1.
I may be incorrect in that error should be true only if the mail
didn't send anything and false still if mail sent but was missing
something optional, like body. Can someone clarify this? I can use it
either way, just need to know.