Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Everyone,
In outlook 2007, the following code is not working properly. This is add-in project build using Visual basic 6.0. ---------------------------------------- Set oOutbox = m_oOutlook.Session.GetDefaultFolder(olFolderOutbox ) oMovedMail.Item = oCurMail.Move(oOutbox) oMovedMail.Send Variable usage FYI... Dim oCurMail as object Set oCurMail = CreateObject("Test.USafeMailItem") ' Parameter ByRef objMail As Outlook.MailItem Dim oMovedMail As Object Set oCurMail = CreateObject("Test.USafeMailItem") ' Get the current mail item. oCurMail.Item = objMail Dim oOutbox As Object ---------------------------------------- The followings are the observations; Case 1 : Some time, the mail is going out to the receiver, but it stayed at outbox itself. Case 2 : Some time, the mail is not all going out, it stayed at outbox itself. Could you please tell that what is the actual issues which cause the functionality? Do I need to change the coding flow for outlook 2007? Note : This is absolutely working fine in prior to 2007. I pasted only the important code fyi. I ensure that there is no runtime err or logical err. Your adivse would be appreciated on this. Thx in Advance, Ashok |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Processing Data | Excel Worksheet Functions | |||
Macro for Row Processing | Excel Programming | |||
speed of processing | Excel Programming | |||
Error processing | Excel Programming | |||
Some Help Processing a Workbook | Excel Programming |