|
Posted by John Bell on 10/01/72 11:18
Hi
You don't say what your client is written in! ADO has an errors collection
that should contain the error, see the topic "Handling Errors and Messages
in ADO" for an overview.
John
"Mark" <markandersen@evare.com> wrote in message
news:1118430069.363348.314030@g43g2000cwa.googlegroups.com...
> xp_startmail is documented as returning two code: 0 success, 1 failure.
> It would be nice to check the return code.
>
> When mail has already been started it returns a 1. This case appears
> indistinguishable from a failure to start. (MSFT should have provided
> separate return codes for failure-already started, and failure-cannot
> start, but they did not.)
>
> Does anyone know how to distinguish these cases. Text is printed
> indicating that it has already been started but I don't know how to
> programmatically grab this case.
>
> It seems the conventional workaround is not to check the return code at
> all (or to start mail once at server startup and never start it again).
> Neither is ideal.
>
> Suggestions?
>
> Thanks,
> Mark Andersen
>
Navigation:
[Reply to this message]
|