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

Outbox not responding



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 30th 10, 11:42 PM posted to microsoft.public.outlook.program_vba
Rose B
external usenet poster
 
Posts: 7
Default Outbox not responding

I have a MS Access application which uses VB to construct/send emails.
The application is used by some users with Office 2007 and some using Office
2003.
The Office 2007 users have "ClickYes" software from ContextMagic installed.
The MS Access application is distributed as 2007 runtime.

What I have found is that all is well for Office 2007 users all of the time,
and for Office 2003 users if Outlook is closed when the email is sent
(ClickYes accepting the security alert boxes). However, if a Office 2003 user
has Outlook open (which is normal) when the .Send command is issued from VB
then they will see a box stating that the "action cannot be completed becuase
the Outbox - Microsoft Outlook application (Outbox - Microsoft Outlook) is
not responding. Cjoose Switch To to activate Outbox...........". The user can
then click one of two buttons - Switch To... or Retry. Whichever they click
dies the trick and the application continues OK.

Does anyone know of any way of stopping this box from appearing and the
processing continuing without user intervention?

(I will post this in the Access Programming forum as well).
  #2  
Old March 31st 10, 11:53 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Outbox not responding



For me it sounds like you should ask the ClickYes people.

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
http://www.vboffice.net/product.html?lang=en


Am Tue, 30 Mar 2010 15:42:01 -0700 schrieb Rose B:

I have a MS Access application which uses VB to construct/send emails.
The application is used by some users with Office 2007 and some using

Office
2003.
The Office 2007 users have "ClickYes" software from ContextMagic

installed.
The MS Access application is distributed as 2007 runtime.

What I have found is that all is well for Office 2007 users all of the

time,
and for Office 2003 users if Outlook is closed when the email is sent
(ClickYes accepting the security alert boxes). However, if a Office 2003

user
has Outlook open (which is normal) when the .Send command is issued from

VB
then they will see a box stating that the "action cannot be completed

becuase
the Outbox - Microsoft Outlook application (Outbox - Microsoft Outlook) is
not responding. Cjoose Switch To to activate Outbox...........". The user

can
then click one of two buttons - Switch To... or Retry. Whichever they

click
dies the trick and the application continues OK.

Does anyone know of any way of stopping this box from appearing and the
processing continuing without user intervention?

(I will post this in the Access Programming forum as well).

  #3  
Old March 31st 10, 01:18 PM posted to microsoft.public.outlook.program_vba
Rose B
external usenet poster
 
Posts: 7
Default Outbox not responding

Yeah, I did that - and they said that their product could not code around
this message. The strange thing is that if you use Mail Merge to generate
Outlook messages from Access, this message does not appear (and of course the
security messages are handled OK by ClickYes), so I thought that there must
be some kind of flag that is being set by Mail Merge and that I am missing in
my VB statement.

"Michael Bauer [MVP - Outlook]" wrote:



For me it sounds like you should ask the ClickYes people.

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
http://www.vboffice.net/product.html?lang=en


Am Tue, 30 Mar 2010 15:42:01 -0700 schrieb Rose B:

I have a MS Access application which uses VB to construct/send emails.
The application is used by some users with Office 2007 and some using

Office
2003.
The Office 2007 users have "ClickYes" software from ContextMagic

installed.
The MS Access application is distributed as 2007 runtime.

What I have found is that all is well for Office 2007 users all of the

time,
and for Office 2003 users if Outlook is closed when the email is sent
(ClickYes accepting the security alert boxes). However, if a Office 2003

user
has Outlook open (which is normal) when the .Send command is issued from

VB
then they will see a box stating that the "action cannot be completed

becuase
the Outbox - Microsoft Outlook application (Outbox - Microsoft Outlook) is
not responding. Choose Switch To to activate Outbox...........". The user

can
then click one of two buttons - Switch To... or Retry. Whichever they

click
dies the trick and the application continues OK.

Does anyone know of any way of stopping this box from appearing and the
processing continuing without user intervention?

(I will post this in the Access Programming forum as well).

.

  #4  
Old March 31st 10, 01:57 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outbox not responding

It's not a flag. It's a message created using Simple MAPI that is causing
the problems. You're probably using DoCmd to send the mail? You would need
to start Outlook using automation code and use the Outlook object model to
avoid the problem and to have ClickYes work correctly.

--
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


"Rose B" wrote in message
...
Yeah, I did that - and they said that their product could not code around
this message. The strange thing is that if you use Mail Merge to generate
Outlook messages from Access, this message does not appear (and of course
the
security messages are handled OK by ClickYes), so I thought that there
must
be some kind of flag that is being set by Mail Merge and that I am missing
in
my VB statement.


  #5  
Old March 31st 10, 03:46 PM posted to microsoft.public.outlook.program_vba
Rose B
external usenet poster
 
Posts: 7
Default Outbox not responding

The code that I am using follows..... which I think is the kind of thing that
you are suggesting?

Dim appOutlook As Object
Dim appOutlookMsg As Object
Dim appOutlookRecip As Object

Set appOutlook = CreateObject("Outlook.Application")
Set appOutlookMsg = appOutlook.CreateItem(olMailItem)
strRecipient = "

With appOutlookMsg
Set appOutlookRecip = .Recipients.Add(strRecipient)
appOutlookRecip.Type = olTo
.Importance = 2
.Subject = "Test Msg"
.Body = "Dear You, this is a test message from Access 2007"
.Send
End With



"Ken Slovak - [MVP - Outlook]" wrote:

It's not a flag. It's a message created using Simple MAPI that is causing
the problems. You're probably using DoCmd to send the mail? You would need
to start Outlook using automation code and use the Outlook object model to
avoid the problem and to have ClickYes work correctly.

--
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


"Rose B" wrote in message
...
Yeah, I did that - and they said that their product could not code around
this message. The strange thing is that if you use Mail Merge to generate
Outlook messages from Access, this message does not appear (and of course
the
security messages are handled OK by ClickYes), so I thought that there
must
be some kind of flag that is being set by Mail Merge and that I am missing
in
my VB statement.


.

  #6  
Old March 31st 10, 04:07 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outbox not responding

That is Outlook automation, not Simple MAPI, so it is what I was talking
about. I'm really surprised that ClickYes can't handle that.

You might want to try using GetObject() to see if you can pick up an
existing Outlook session before you use CreateObject(), perhaps ClickYes can
handle that.

I don't use ClickYes, nor do most Outlook developers. I consider it a
security risk, and we have Redemption (www.dimastr.com/redemption) to avoid
the security and provide a whole heck of a lot more functionality than
ClickYes.

--
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


"Rose B" wrote in message
...
The code that I am using follows..... which I think is the kind of thing
that
you are suggesting?

Dim appOutlook As Object
Dim appOutlookMsg As Object
Dim appOutlookRecip As Object

Set appOutlook = CreateObject("Outlook.Application")
Set appOutlookMsg = appOutlook.CreateItem(olMailItem)
strRecipient = "

With appOutlookMsg
Set appOutlookRecip = .Recipients.Add(strRecipient)
appOutlookRecip.Type = olTo
.Importance = 2
.Subject = "Test Msg"
.Body = "Dear You, this is a test message from Access 2007"
.Send
End With


 




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
OE6 not responding Ena Outlook Express 4 July 31st 09 12:39 AM
Outbox shows file but when I open Outbox there is nothing there CCWEBPASTOR Outlook - General Queries 1 August 30th 08 10:24 AM
OE 6 - Outbox Items not leaving Outbox to go to Sent Items Folder gthauberger Outlook Express 1 June 11th 08 05:26 PM
Bypassing Outlook's Outbox (or creating a custom outbox) Ekin Outlook and VBA 12 January 21st 08 02:52 PM
Not responding CJ Outlook Express 2 August 5th 07 01:24 PM


All times are GMT +1. The time now is 06:40 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.