![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi,
I have a problem with my Outlook Addin, I'm using VSTO and Outlook 2007. I am also using redemption for some of my events. ' Declarations Public WithEvents myRDOsession As Redemption.RDOSession in ThisAddIn_Startup() I have the following code myRDOsession = New Redemption.RDOSession myRDOsession.Logon() The above line i.e. the logon() stops emails going out. Any email that I send stays in the Outbox folder. If I comment out Logon() then emails go out without a problem. I obviously need the RDOSession to be logged on. I've tried to use myRDOsession.LogonExchangeMailbox(gstrUserID, "") which works and email send correctly but I then won't have access to all the Stores (myRDOsession.Stores will not contain my PST file Stores) Has anyone come across this problem before, this is really starting to bug me!!! Any help will be greatly appreciated! Thanks Nabil |
#2
|
|||
|
|||
![]()
In an addin assign NameSpace.MAPIOBJECT to RDOSession.MAPIOBJECT instead of
using the Logon() method. -- 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 "Nabil" wrote in message ... Hi, I have a problem with my Outlook Addin, I'm using VSTO and Outlook 2007. I am also using redemption for some of my events. ' Declarations Public WithEvents myRDOsession As Redemption.RDOSession in ThisAddIn_Startup() I have the following code myRDOsession = New Redemption.RDOSession myRDOsession.Logon() The above line i.e. the logon() stops emails going out. Any email that I send stays in the Outbox folder. If I comment out Logon() then emails go out without a problem. I obviously need the RDOSession to be logged on. I've tried to use myRDOsession.LogonExchangeMailbox(gstrUserID, "") which works and email send correctly but I then won't have access to all the Stores (myRDOsession.Stores will not contain my PST file Stores) Has anyone come across this problem before, this is really starting to bug me!!! Any help will be greatly appreciated! Thanks Nabil |
#3
|
|||
|
|||
![]()
Thanks Ken, I tried what you suggested but it hasn't solved my problem.
Emails are still waiting in my Outbox. myRDOsession.LoggedOn reports as true Any other suggestions? Thanks Nabil "Nabil" wrote: Hi, I have a problem with my Outlook Addin, I'm using VSTO and Outlook 2007. I am also using redemption for some of my events. ' Declarations Public WithEvents myRDOsession As Redemption.RDOSession in ThisAddIn_Startup() I have the following code myRDOsession = New Redemption.RDOSession myRDOsession.Logon() The above line i.e. the logon() stops emails going out. Any email that I send stays in the Outbox folder. If I comment out Logon() then emails go out without a problem. I obviously need the RDOSession to be logged on. I've tried to use myRDOsession.LogonExchangeMailbox(gstrUserID, "") which works and email send correctly but I then won't have access to all the Stores (myRDOsession.Stores will not contain my PST file Stores) Has anyone come across this problem before, this is really starting to bug me!!! Any help will be greatly appreciated! Thanks Nabil |
#4
|
|||
|
|||
![]()
How are you sending the emails?
If they are staying in Outbox after being sent from the UI then something is messing with the items there, which will cancel the send. If you are sending using Redemption, for example, rdoItem.Send(), then you might need to initiate a SyncObjects() call to start the transport. I usually use something like NameSpace.SyncObjects(1).Start(). -- 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 "Nabil" wrote in message ... Thanks Ken, I tried what you suggested but it hasn't solved my problem. Emails are still waiting in my Outbox. myRDOsession.LoggedOn reports as true Any other suggestions? Thanks Nabil |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
REDEMPTION HANGING during LOGON | AVIS | Outlook and VBA | 2 | May 22nd 09 03:52 PM |
Redemption RDOSession.GetFolderFromPath and Outlook2007 SearchFolders | Ralf Jansen | Add-ins for Outlook | 1 | November 16th 06 06:56 PM |
Redemption RDOSession.GetFolderFromPath and Exchange Cache Mode | Ralf Jansen | Add-ins for Outlook | 5 | November 9th 06 06:29 AM |
Redemption+CBuilder: RDOSession.Logon MAPILogonEx-Error | [email protected] | Add-ins for Outlook | 2 | September 1st 06 08:32 AM |
Sending larger emails is slow, then stops | Larry B | Outlook Express | 6 | April 22nd 06 02:29 PM |