A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Using SendObject in Access to send an email



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 21st 09, 09:07 PM posted to microsoft.public.outlook.program_vba,microsoft.public.access
Dale Fye
external usenet poster
 
Posts: 34
Default Using SendObject in Access to send an email

I've got some code in Access an Access 2007 database that generates a series
of email messages to a bunch of customers.

Unfortunately, the security settings of Outlook popup a warning menu with
each email that is generated. As I recall, in Office 2003, when this
happened, the user was presented with an option to allow that functionality
for a period of time, so they did not have to repeatedly wait for the warning
message to finish processing and then click the Accept button. Is there a
way to do this in Access/Outlook 2007 as well?

----
HTH
Dale

Ads
  #2  
Old April 21st 09, 09:22 PM posted to microsoft.public.outlook.program_vba,microsoft.public.access
Albert D. Kallal
external usenet poster
 
Posts: 2
Default Using SendObject in Access to send an email

I was under the impression that in 2007, this message is gone.

Try either ensuing that access is in a trusted location, or try setting
macro security to low....

I have access 2007, but only have outlook 2003....

Try either of the above ideas....I don't have the reference, but I do recall
reading somwhere that that nag prompt is gone in one of the above cases....


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada



  #3  
Old April 21st 09, 10:35 PM posted to microsoft.public.outlook.program_vba,microsoft.public.access
Mark Andrews
external usenet poster
 
Posts: 3
Default Using SendObject in Access to send an email

You could always go with a third party smtp component and avoid all these
issues.

Mark
RPT Software
http://www.rptsoftware.com

"Dale Fye" wrote in message
...
I've got some code in Access an Access 2007 database that generates a
series
of email messages to a bunch of customers.

Unfortunately, the security settings of Outlook popup a warning menu with
each email that is generated. As I recall, in Office 2003, when this
happened, the user was presented with an option to allow that
functionality
for a period of time, so they did not have to repeatedly wait for the
warning
message to finish processing and then click the Accept button. Is there a
way to do this in Access/Outlook 2007 as well?

----
HTH
Dale



  #4  
Old April 22nd 09, 02:13 PM posted to microsoft.public.outlook.program_vba,microsoft.public.access
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Using SendObject in Access to send an email

Low security isn't a good idea. However, in Outlook 2007 if you have an up
to date anti-virus program running the prompt won't occur in out of process
uses of the Outlook object model. SendObject() is a Simple MAPI call, not
Outlook object model. The results might be better if Outlook object model
code were used instead of a Simple MAPI call.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Albert D. Kallal" wrote in message
...
I was under the impression that in 2007, this message is gone.

Try either ensuing that access is in a trusted location, or try setting
macro security to low....

I have access 2007, but only have outlook 2003....

Try either of the above ideas....I don't have the reference, but I do
recall reading somwhere that that nag prompt is gone in one of the above
cases....


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EMail Send failure from Access Peter Hibbs Outlook and VBA 4 February 14th 08 09:44 PM
Access using SendObject for MAPI client David Outlook and VBA 0 July 23rd 07 02:52 PM
Emailing from Access application - inconsistent behaviour with SendObject Rob Parker Outlook - General Queries 7 May 2nd 07 01:41 AM
Using "SendObject" in access to send Email Steve S Outlook - Installation 6 April 23rd 07 10:44 PM
SENDOBJECT (email) and the FROM field Dennis Outlook and VBA 1 April 6th 06 06:14 PM


All times are GMT +1. The time now is 10:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.