Hi,

Can somebody help me on sending E-mail through VB code.I have seen the posting of sending an E-mail through VB6.0 when we are using Microsoft Outlook,however we sue Lotus notes to send and receive mails.

What kind of changes would be required in the code mentioned below when Lotus Notes is being used for mails.

Dim objOutlook As Object
Dim objOutlookMsg As Object
Set objOutlook = CreateObject("Outlook.Application")
Set objOutlookMsg = objOutlook.CreateItem(0)
With objOutlookMsg
.To = "[email protected]
.Cc = "[email protected]"
.Subject = "Hello World (one more time)..."
.Body = "This is the body of message"
.HTMLBody = "HTML version of message"
.Attachments.Add ("c:\myFileToSend.txt")
.Send 'Let´s go!
End With
Set objOutlookMsg = Nothing
Set objOutlook = Nothing