Strange Problem in version 6.5.1

Hi All.

I have developed an application in version 5 which sends emails to users with confidential reports. It worked fine until notes client was upgraded to version 6.5.1. The application stopped working not sure why & the same application works in version 6.5.4. I am not if it is related to any admin side or any security end of windows or notes.

Code:

Set mailbox = session.GetDatabase ( db.Server , “Mail.Box” )

Dim doc As New NotesDocument (mailbox)

doc.save True, False

Does anyone had similar problems? Does 6.5.1 has any issues.

Any suggestions would be appreciated.