From your question I read that you use "Back-end classes" to generate and send mails. Using back-end classes allows you to perform operations silently. In the contrast, now you want to do some work yourself and let the user give it a finish.
Buddy, to do that you will have to make a fundamental change to your existing code. You will need to change your code so that it uses "front-end classes". THere isn't a lot of difference bw the two apporoaches, sans, object initalization changes. Majority of your code will remain the same only begining will change and a few additional lines may be.
If you put your code here, we may be able to help you on your specifc problem. Otherwise, generally speaking, use the Front-end classes to do so. Sample code Qwalette has already given.
HTH
~ Ranjeet Rain
Main Topics
Browse All Topics





by: qwaleteePosted on 2004-07-20 at 08:18:44ID: 11593805
Recently, someone who was doing the same thing from VB ran into problems, but inly when using attachments. I'm not sure which "Domino Objects" library you are referring to, but here is the simplest way:
ession") ntString(" MailServer ",True) ntString(" MailFile", True)
Workspace)
Set notesMetaData = CreateObject("Notes.NotesS
mailServer = notesMetaData.getEnvironme
mailFile = notesMetaData.getEnvironme
Set notes = CreateObject(Notes.NotesUi
Set message = notes.composeDocument ( mailServer , mailFile , "Memo" )
message.fieldSetText "EnterSendTo" , "name of recipient, etc."
message.fieldSetText "EnterCopyTo" , "name of recipient, etc."
message.fieldSetText "EnterBlindCopyTo" , "name of recipient, etc."
message.fieldSetText "Subject" , "Some subject text"
message.gotoField "Body" 'can't just set body field text
message.insertText "Text of the body field"