Big Monkey
Active Member
- Joined
- Nov 5, 2005
- Messages
- 255
Code:
' Open and locate current LOTUS NOTES User
Set Session = CreateObject("Notes.NotesSession")
UserName = Session.UserName
MailDbName = Left$(UserName, 1) & Right$(UserName, (Len(UserName) - InStr(1, UserName, " "))) & ".nsf"
Set Maildb = Session.GETDATABASE("", MailDbName)
If Maildb.IsOpen = True Then
Else
Maildb.OPENMAIL
End If
This is the code directly from NateO's awesome Lotus Notes e-mail macro.
My question is this:
This code identifies the user that is currently logged in to Lotus Notes. Is there a way I can format this piece of code to use a specific Notes ID? When this macro runs, I want it to mask the actual users's ID and use another so that the recipient sees another SMTP instead of the real one.
Any help?