Not sure. I would guess it uses MAPI since it would utilize the default
e-mail editor program on your computer, but have never tried or looked into
it. FYI - here is the Lotus Notes sample code I mentioned:
'=====Code Starts Here=====
Sub MailData()
Dim Session As Object, DB As Object, Memo As Object
Dim Server$, Mailfile$
Dim Item As Object, strSubject As String, strBody As String
strSubject = "put subject here, or use another variable"
strBody = "put body of message here, or use variable"
Set Session = CreateObject("Notes.NotesSession")
' Read the current mail server from Notes.ini
Server$ = Session.GETENVIRONMENTSTRING("MailServer", True)
' Read the current mail file from Notes.ini
Mailfile$ = Session.GETENVIRONMENTSTRING("MailFile", True)
' Try to open the mail database
Set DB = Session.GETDATABASE(Server$, Mailfile$)
' If Mail db not accessible, return an error
If Not DB.IsOpen Then
MsgBox "Could not access Notes mail file!"
Exit Sub
End If
'LN Message
'Create a memo in the user's mail file
Set Memo = DB.CREATEDOCUMENT
'Set the form to be a mail memo
Memo.Form = "Memo"
Memo.copyto = "wherever"
'Set the "from" field (not necessary)
Memo.From = Session.UserName
'Set the recipient of the memo
Memo.SendTo = "your e-mail address here"
'Give the memo a subject
Memo.Subject = strSubject
'Give the memo a body message
Memo.Body = strBody
'Send the memo
Call Memo.SEND(False, False)
' Restore NOTES variables back to nothing
Set DB = Nothing
Set Session = Nothing
End Sub
'=====Code Ends Here=====
--
Bill Foley, Microsoft MVP (PowerPoint)
Microsoft Office Specialist Master Instructor
www.pttinc.com
Check out PPT FAQs at:
http://www.rdpslides.com/pptfaq/
"Success, something you measure when you are through succeeding."