Here is the code, If anyone can figure out how to add the CC or BCC, as well as get it to copy the sent email into the 'sent' folder, that would be great!
The Code:
Public Sub SendNotesMail(strSubject As String, _
strAttachment As String, _
strRecipient As String, _
strBodyText As String, _
bolSaveIt As Boolean)
'-------------------------------------------------------------
'This public sub will send a mail and attachment if neccessary to the recipient including
'the body text.
'Requires that notes client is installed on the system
'Set up the objects required for Automation into lotus notes
Dim MailDB As Object 'the mail database
Dim UserName As String 'the current user's notes name
Dim MailDBName As String 'The current user's notes mail database name
Dim MailDoc As Object 'The mail document itself
Dim AttachME As Object 'The attachment richtextfile object
Dim Session As Object 'Teh notes session
Dim EmbedObj As Object 'The embedded object (attachment)
'Start a session to notes
Set Session = CreateObject("Notes.Notessession"
'Get the sessions username and then calculate the mail file name
'You may or may not need this as for MailDBName with some systems you
'can pass an empty string
UserName = Session.UserName
MailDBName = Left$(UserName, 1) & Right$(UserName, (Len(UserName) - InStr(1, _
UserName, " "

)) & ".nsf"
'Open the mail database in notes
Set MailDB = Session.getdatabase("", MailDBName)
If MailDB.isopen = True Then
'already open for mail
Else
MailDB.openmail
End If
'set up the new mail document
Set MailDoc = MailDB.createdocument
MailDoc.Form = "Memo"
MailDoc.sendto = strRecipient
MailDoc.Subject = strSubject
MailDoc.body = strBodyText
MailDoc.savemessageonsent = bolSaveIt
'Set up the embedded object and attachment and attach it
If strAttachment <> "" Then
Set AttachME = MailDoc.createrichtextitem("Attachment"

Set EmbedObj = AttachME.embedobject(1454, "", strAttachment, "Attachment"

' MailDoc.createrichtextitem ("Attachment"

End If
'Send Document
MailDoc.send 0, strRecipient
'Clean Up
Set MailDB = Nothing
Set MailDoc = Nothing
Set AttachME = Nothing
Set Session = Nothing
Set EmbedObj = Nothing
End Sub