Lianja
Lianja
Transition from Email.GetLinkedDomains to Email.LinkedDomains
Provides instructions for replacing deprecated GetLinkedDomains method calls with LinkedDomains.Chilkat Lianja Downloads
llSuccess = .F.
loEmail = createobject("CkEmail")
// ...
// ...
// ------------------------------------------------------------------------
// The GetLinkedDomains method is deprecated:
loSa = loEmail.GetLinkedDomains()
if (loEmail.LastMethodSuccess = .F.) then
? loEmail.LastErrorText
release loEmail
return
endif
// ...
// ...
release loSa
// ------------------------------------------------------------------------
// Do the equivalent using LinkedDomains.
// Your application creates a new, empty StringTable object which is passed
// in the last argument and filled upon success.
loSt = createobject("CkStringTable")
llSuccess = loEmail.LinkedDomains(loSt)
if (llSuccess = .F.) then
? loEmail.LastErrorText
release loEmail
release loSt
return
endif
release loEmail
release loSt