View Single Post
  #3  
Old April 16th, 2010, 03:42 PM posted to microsoft.public.access.forms
ghetto_banjo
external usenet poster
 
Posts: 325
Default generate a confirmation email

you can use the SendObject command to create an email, and you don't
even need to attach an "object" to it if you don't want to.

Full syntax:
DoCmd.SendObject(ObjectType, ObjectName, OutputFormat, To, Cc, Bcc,
Subject, MessageText, EditMessage, TemplateFile)


If you dont want an attachment:

Docmd.SendObject , , , ", , , "subject line",
"blah blah blah", true



EditMessage = true, means that the email comes up to be edited first.
If this is false and you want to send it automatically, Outlook will
give a warning everytime that another program is trying to take
control of sending emails.