You can use CDONTS. See
Re: I can't send e-mail programmatically Message #
483311 for sample code.
>I recently asked that Outlook be loaded on our server...
>
>Subject: Help, Need Windows messaging and Outlook Loaded on LRD1EMC2
>The Windows NT Server 'servername2' requires software to be added.
>Microservices,
>A new program called 'progname' will daily run and requires email capability from Outlook...
>
>This is the responce that I got from network administrator -
>
>They shouldn't need Outlook. They can send mail via SMTP. MAPI, the subsystem necessary for this, is installed by default as part of the operating system.
>
>My code "needing to be changed to not reference Outlook"
>
< snip >
--sb--