Question Locked

Email from within Access

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Looking for a way to send email to mailing list instead of printing report in access. Querry will select recipeint from master mail list table. Running a report will create individual letters to be mailed. I need to notify recepients automatically by email as well.

4 replies

by sgt_shultz

use the send method
here is an excerpt from access help
Automate sending a report snapshot in e-mail
Show All
Hide All
Note The information in this topic applies to Microsoft Office Access 2003, Access 2002, and Access 2000.

Create a macro (macro: An action or set of actions that you can use to automate tasks.).
How?

In the Database window (Database window: The window that appears when you open an Access database or an Access project. It displays shortcuts for creating new database objects and opening existing objects.), click Macros under Objects.
Click the New button on the Database window (Database window: The window that appears when you open an Access database or an Access project. It displays shortcuts for creating new database objects and opening existing objects.) toolbar.
Add an action (action: The basic building block of a macro; a self-contained instruction that can be combined with other actions to automate tasks. This is sometimes called a command in other macro languages.) to the macro.
How?

In the Macro window (Macro window: The window in which you create and modify macros.), click the first empty row in the Action column. If you want to insert an action between two action rows (action row: A row in the upper part of the Macro window in which you enter macro names, actions, conditions, and comments associated with a particular macro or macro group.), click the selector for the action row just below the row where you want to insert the new action, and then click Insert Row on the toolbar.
In the Action column, click the arrow to display the action list (action list: The list that appears when you click the arrow in the Action column of the Macro window.).
Click the action you want to use.
In the lower part of the window, specify arguments for the action, if any are required. For action arguments (action argument: Additional information required by some macro actions. For example, the object affected by the action or special conditions under which the action is carried out.) whose settings are a database object (database objects: An Access database contains objects such as tables, queries, forms, reports, pages, macros, and modules. An Access project contains objects such as forms, reports, pages, macros, and modules.) name, you can set the argument by dragging the object from the Database window to the action's Object Name argument box.
Type a comment for the action. Comments are optional.
To add more actions to the macro, move to another action row (action row: A row in the upper part of the Macro window in which you enter macro names, actions, conditions, and comments associated with a particular macro or macro group.) and repeat step 3. Access carries out the actions in the order you list them.
Add the SendObject action to the macro. For example: Argument Value
Object Type Report
Object Name Summary of Sales by Quarter
Output Format Snapshot Format
To All Northwind Traders; Shareholders
Cc none
Bcc none
Subject Quarterly Sales report
Message Text This is our best quarter in years!
Edit Message No

Run the macro each time you want to send the report snapshot (report snapshot: A file (.snp extension) that contains a high-fidelity copy of each page of an Access report. It preserves the two-dimensional layout, graphics, and other embedded objects of the report.).

by proftech

I do not need to send the entire report by email. The report is similar to a mail merge output. Each page needs to be emailed to a different person. The method described (Send Obj) will send the entire report instead of one page.

by morney

Have you had any luck with your request. If so please advise because I need to do the exact same and can not find a solution

This discussion is closed to new replies.