Sending mail with MAPI

I want to send mail from my D4-application using MAPI. Nothing fancy, just
"to", "Subject", "content" and "attachment" and of you go. Can any one help
me get started.
Thanx. Hans Walrave
hwalr...@dds.nl