The cursing and inconsistent results sound familiar Allen. Been working on this too and it is so f****ng frustrating that it works some times and does not work the next time with absolutely no changes to the script and the system running it.

A small light at the end of the tunnel....

 Code:
....
NewMessage.SentOnBehalfOfName = "test@test.com"
....


As far as I know SentOnBehalfOfName should work but I cannot test at the moment.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.