Can anyone complete the script below by including to and from methods to enable users to upload a text(and/or other formats) file through a form.
FilePath = "C:\OfficeMemos\attachment.doc"
FileName = "attachment.doc"
Set myForm = CreateObject("CDONTS.NewMail"
myForm.attachfile FilePath, FileName
myForm.send()
Many thanks in advance
FilePath = "C:\OfficeMemos\attachment.doc"
FileName = "attachment.doc"
Set myForm = CreateObject("CDONTS.NewMail"
myForm.attachfile FilePath, FileName
myForm.send()
Many thanks in advance