Hello,
Just had my 1st request to interface to Lotus Notes e-mail. I searched the threads and found a few items that seemed to be what I need. I had a couple of questions:
1.) I really want to fill in the default recipients and text and then launch the Notes Interface so the users can access the Notes address book themselves. In Outlook, I can send a command like: "oOutlookObject.Display" instead of ".Send" to display the outlook interface. What is the corresponding command in Notes? Is it oNotesObject.Send(0) or .Send(.f.) ??
2.) When you send names as recipients as a group to you enter the names separated by ";" characters like with MAPI?
3.) In recipients and cc, Can you use FirstName+LastName syntax or do you have to use the internet style of UserName@DomainName?
4.) Is the syntax for cc just .cc?
Thanks a lot,
Kevin
**** Sample from previous UT thread posting (author is ?)
LOCAL loNotes, loDb, loDoc, lcMsg, loRichTextItem
loNotes = CreateObject("Notes.Notessession") && create notes session
loDb = loNotes.GetDatabase("", "") && set db to database not yet named
loDb.openmail && set database to default mail database
loDoc = loDb.CreateDocument && create a mail document
loDoc.ReplaceItemValue("SendTo", tcRecipient) && Recipient
loDoc.ReplaceItemValue("Subject", tcSubject) && Subject
loDoc.ReplaceItemValue("Body", tcMessage) && Message Body
*-- check if there's an attachment
IF NOT EMPTY(tcAttachment)
loRichTextItem = loDoc.CreateRichTextItem("Attachment") &&
=loRichTextItem.EmbedObject(1454, "", tcAttachment) && attach a file
ENDIF
*loDoc.Save(.T., .T.) && save message
loDoc.Send(.F.) && send message
RELEASE loNotes