Robert,
Thanks for the suggestion. I didn't know about CDO. Following your code sample, I easily created and sent a mail message. A few minutes later, it arrived in my inbox.
I read about CDO in the MSDN Library (Oct 2001), but I'm not sure if it will work on our customers PC's. Sounds like it requires Windows NT Server, Windows 2000 Server, or IIS 4.0. Do you know if your example will work under Windows 98? Would my application have to install the CDONTS.DLL or other components?
---Thomas
>You might want to use the Collaboration Data Objects instead.
>omsg = createobject("cdo.message")
>omsg.From = "sender's email address goes here"
>omsg.Subject = "The subject of your e-mail"
>omsg.To = "Recipient's email address"
>omsg.TextBody = "The body of your Text goes here"
>omsg.AddAttachment("file:///"+"fullpath of file attachment")
>omsg.Send
>
>Let me know if this worked out for you.
>
>Robert Lee
Thomas M. Lamm
Bradbury & Associates