lr145
Programmer
- May 21, 2008
- 11
Within a Foxpro 9.0 program I am trying to determine if an email address that I am sending a message to is incorrect. I am using Groupwise 7.0 and I have tried using Foxpro's Try...Catch...Endtry command to catch for either an exception code or a true/false value if the email recipient is not valid. Nothing I seem to do is catching an error for an incorrect email address. I have tried the following:
try
recip.resolve
catch
....
endtry
or
try
var = recip.resolve
catch when !var
...
endtry
try
recip.resolve
catch
....
endtry
or
try
var = recip.resolve
catch when !var
...
endtry