Codeunit 397 Mail

I am running some code on the insert trigger of a table as follows:- MAIL points to C/U 397 MAIL.SetDialogState(TRUE); MAIL.NewMessage(UserGroup.Name,’’,SubjectText,BodyText,’’,FALSE); When the code is run I get the error The call to Member send failed. NSAppHandler returned the following message: Overflow But none none of the fields are overflowing they are all the right size. And the email gets sent, but I also get the above error. Any ideas anyone? Cheers Tony

I fixed it in the end bu using a Custom Created OCX. I found that the problem’s I had with the Custom OCX were related to the delay insert trigger. Once this was removed (and I gigged the code around from OnInsert to OnValidate) I managed to get it to work fine. Many Thanks Tony