This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
response.write("<br>...MailFile in ini is: " & mailDB)
Set db = dir.OpenMailDatabase
response.write("<br>...Mail DB open OK")
If db.IsOpen then
Set doc = db.CreateDocument
response.write("<br>...The DB object has been used to create a Document object")
Call doc.ReplaceItemValue("Form", "Memo")
'To : (for more than one recipient, use an array of strings
ReDim astrTo(0)
astrTo(0) = "webmanager@man.mbs.ac.uk"
'astrTo(1) = "first.last@example.com"
Call doc.ReplaceItemValue("SendTo", astrTo)
doc.SaveMessageOnSend = False ' Change to True to save message in mailfile.nsf
Call doc.Send( False )
message_sent = true
else
message_sent = false
end if