email from access 2003

Lanason

Registered User.
Local time
Today, 13:13
Joined
Sep 12, 2003
Messages
258
I know how to send a report in access 2003 via email - but how do i just send an email without a report??
 
You can use SendObject, with the appropriate arguments.
 
Here is just one Example:
DoCmd.SendObject acSendReport, "rptInvoice", acFormatPDF, "email@company.com", , , "Invoice Report", "Attached please find the Invoice Report"


HTH
 
Um, that wouldn't work to "send an email without a report" as was requested.
 
thanks - do you know the syntax

Yes, but I figured it would be a good learning experience for you to look in VBA help to see all the options.
 
Okay, NO Report!
DoCmd.SendObject acSendNoObject, "FormTyp", acFormatHTML, [EmailFieldHere], , , , "Company Email", True, ""

HTH
 

Users who are viewing this thread

Back
Top Bottom