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

send attachment from outlook automatically



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old March 5th 08, 09:25 PM posted to microsoft.public.outlook.program_vba
ND Pard
external usenet poster
 
Posts: 7
Default send attachment from outlook automatically

While using the

docmd.sendobject

statement in Access 2007, I keep getting an Outlook dialog box that says,

"A program is trying to send an e-mail message on your behalf. If this is
unexpected, click Deny and verify your antivirus software is up-to-date."

Fortunately, we have a SMTP server, and I was able to use (modify) the code
posted by BCullenward from the site:

http://www.access-programmers.co.uk/...ad.php?t=97854

Now, it works GREAT! And is super fast too. No more security alerts from
Outlook.

I hope this helps.

"Cam" wrote:

Hello,

I have a macro in Excel to update data, then email the updated file to
people on the distribution list. The problem is once the macro is ran, it
popup a screen asking whether it is ok to send the email out (must be a
security reason in outlook?). I want to put in the code to by pass the popup
cause I want the macro to run automatically during the weekend.

Thanks

 




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
I can send email with attachment receiver cannot open attachment saffi Outlook - General Queries 8 December 5th 07 10:06 AM
Can Outlook 2003 automatically process an attachment? Pheasant Plucker® Outlook - General Queries 2 October 28th 07 07:15 AM
How to save attachment automatically in Outlook 2003? joannele71 Outlook and VBA 17 June 15th 07 08:44 PM
How can I automatically save an attachment to a folder Carol Outlook and VBA 1 May 9th 07 10:54 PM
Automatically inserting the name of an attachment into the email t Montana Outlook and VBA 1 August 3rd 06 05:42 AM


All times are GMT +1. The time now is 03:37 PM.


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.