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

Replicate action of opening up message in the outbox and pressing



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old September 12th 07, 06:22 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Replicate action of opening up message in the outbox and press

You shouldn't need Redemption if you have Outlook 2003 or 2007 and derive all Outlook objects from the intrinsic Application object in OUtlook VBA.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"John H" wrote in message ...
Thanks for the ideas to you both. I ended up getting it working now...I had
to install the redemption com add in to get around the evil vba popup
security warnings and put in a few do loops so the ISP would accept the
messages.

Its chugging through my list 30 at a time and completing a send/receive
cycle now.

I promise not to cuss Outlook for the rest of today lol.

Less of a VBA newbie than yesterday-

JH

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

You have to actually send the items using the item.Send method for every
one.

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


"John H" wrote in message
...
Hello,

I inherited a mail merge with several thousand records some of which have
sent and some of which haven't. The user tried to solve the problem by
dragging a bunch of records out of the Outbox into another folder and then
dragging them back into the outbox.

Now Outlook doesn't recognize these messages as spooled to send...they
have
no sent date etc.

Works fine if you open up one of them and press send again.

Is there a simple VB solution to reset these to send out?

I am a VB newbie and I found the Sent and SentOn properties of the
mailitem
and did this
Public Sub SendOutbox()
Dim objOutlookMsg As Outlook.MailItem
objOutlookMsg.SentOn = Now()
End Sub

Apparently both of these are read only though, so I can't get at them.

TIA-

JH



 




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
Deleting an outbox email without opening Outlook. Sonars_UK Outlook - General Queries 1 May 17th 07 01:44 AM
Automatic action upon reception of a message [email protected] Outlook and VBA 1 May 8th 07 04:27 PM
Message disappeared after accidentally pressing Alt+Shift+B [email protected] Outlook - General Queries 0 April 20th 07 08:21 PM
when opening outlook it says action failed (and need to rebooth) CORSTOK Outlook - Installation 0 March 7th 06 11:07 PM
server-requested client action message MCSA-M Outlook - General Queries 7 January 18th 06 08:24 PM


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