Click to See Complete Forum and Search --> : How do I fill in "To" box on documents mailed from my app?


April 6th, 1999, 09:39 AM
CDoument's OnFileSendMail() function makes it easy to e-mail my document from my application. Does anyone know how I could automatically enter an e-mail address in the "TO" field when I use OnFileSendMail()?

Thanks.

Michael Decker
April 6th, 1999, 07:07 PM
I haven't seen a way to do this and still use the built in OnFileSendMail() function.
It can be done, but you may have to do additional work.
This site contains some classes for sending mail.
You can also re-write Microsoft's version of OnFileSendMail() to include a recipient.