I typed the full email address into the omessage.to=myname@someserver.com and that solved the problem of the email depending on the contact list. I should have thought of that earlier. Thanks again.
>>>It worked fine. My only concern is that the to: seemingly needs to exist in your contacts list for the email to work.
>
>Glad that helped. I'll check out the to: requirement you mentioned after I get to the office Monday. I tested with my name, which is in the contact list already.