Enrico,
>I don't like it very much because I still don't know what the error is so I can't trap it.
You don't need to know what it is, just loop back from where the msgInfo() displaying the error message (the one after the send).
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10