Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Vb Script to email

Thread Tools
 
Search this Thread
 
Old 20 November 2003, 01:58 PM
  #1  
Carl Harvey
Scooby Regular
Thread Starter
 
Carl Harvey's Avatar
 
Join Date: Jan 2000
Location: Peterborough
Posts: 231
Likes: 0
Received 0 Likes on 0 Posts
Post

I have some Vb script to email from an access database.

Everything works fine apart from getting an Outlook message box for every email saying "A program is trying to send emails" and you have to wait 5 seconds before you can hit yes.

As I have 500 emails to sent out I need to be able to turn this off - any ideas?
Old 20 November 2003, 02:21 PM
  #2  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Post

Carl,

It's a security feature of outlook 2000 onwards. Frustrating isnt it!!! Ok several options, one is do a search for something called outlook redemption, this uses extended MAPI as opposed to Standard and gets around the security issue. However you may have trouble driving it from VB script, you could search and perhaps try using EMAPI yourself (not for the faint hearted) or there is a little utility that sits in the task bar and sends a Y or mouse click to the window to get rid of the message, what it's called I dont know but at least you could run it un-attended then.

Have fun!

Gary
Old 21 November 2003, 08:11 AM
  #3  
Miles
Scooby Regular
 
Miles's Avatar
 
Join Date: Oct 1998
Location: The Granite City/Dallas, Tx.
Posts: 2,519
Likes: 0
Received 0 Likes on 0 Posts
Post

If you Exchange at the back end, check out http://www.slipstick.com/outlook/esecup/admin.htm
Old 21 November 2003, 08:37 AM
  #4  
chiark
Scooby Regular
 
chiark's Avatar
 
Join Date: Jun 2000
Posts: 13,735
Likes: 0
Received 0 Likes on 0 Posts
Post

If you have VB, you could write a small app that uses the "sendkeys" function to press the "y" key for you, but admittedly that's a sucky solution.

If you've got an SMTP server then that cuold be a lot easier.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
oilman
Trader Announcements
15
01 October 2015 11:55 AM
wms-racing
Wanted
0
28 September 2015 10:05 AM
Pro-Line Motorsport
Car Parts For Sale
0
27 September 2015 11:19 AM



Quick Reply: Vb Script to email



All times are GMT +1. The time now is 08:24 PM.