#7018
stuartcross
Participant

Thanks for that. I still have a problem though. I have created the following applet:

Dim Recipient

Sub Main(Client, GWEvent)
Recipient = Groupwise.ItemGetText(“X00”, itfTo)
If (Instr(1, Recipient, “@”, 1) > 0) Then
If (Instr(1, Recipient, “shlegal.com”, 1) = 0) then
dim iReturnVal
call groupwise.throwtoken(“Speller(0)”, iReturnVal)
End If
End If
End Sub

This seems to work with checking that the email is for external people, however it brings up the spelcheck and then immediatley sends the email without actually performing the check. Is there anyway to force it to perform the spell check before it sends the mail?

Thanks,

Stuart