[Migrated content. Thread originally posted on 28 May 2003]
Thanks to Gisle Forseth for that excellent sample program using MS CDO to send email! Doesn't get any easier than that. I would like to send an attachment with this email method, but I am having trouble. I tried putting this code in right after the MODIFY NEW-MAIL statement:MODIFY NEW-MAIL @AttachFile
("c:\\requests.pdf",
"requests.pdf").
I am now getting the following error message when I run my program:
"Class is not licensed for use"
Has anyone tried sending attachments using Gisle's code?