Redemption.RDOSession logon() stops emails sending-they stay in Ou

  • Thread starter Thread starter Nabil
  • Start date Start date
Status
Not open for further replies.
N

Nabil

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
 
In an addin assign NameSpace.MAPIOBJECT to RDOSession.MAPIOBJECT instead of

using the Logon() method.

"Nabil" <Nabil> wrote in message

news:E1AA8306-E989-4064-8611-12DE4925E1E3@microsoft.com...
> 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
 
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
 
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().

"Nabil" <Nabil> wrote in message

news:B11249B1-B5F4-4E73-BBC9-0A30E2134BA6@microsoft.com...
> 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
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
D Auto Remove [EXTERNAL] from Subject + ConversationTopic (WITHOUT Redemption plug-in) Outlook VBA and Custom Forms 5
A Edit subject - and change conversationTopic - using VBA and redemption Outlook VBA and Custom Forms 2
N Redemption VBA basics...something's missing Using Outlook 0
D Redemption? Need rapid pull of Outlook Contacts, email + notes for VBA Using Outlook 1
J 64-bit version of Redemption? Outlook VBA and Custom Forms 2
E Redemption access AppointmentItem Label from outlook Outlook VBA and Custom Forms 6
E Redemption MAPI access(c#) Outlook VBA and Custom Forms 4
W Redemption::RDOMail.PrintOut() / DoAction(maPrint) not working Outlook VBA and Custom Forms 1
B Use Redemption to get sender's email address Outlook VBA and Custom Forms 3
M EMail1Address and EMail1AddressType strangeness using Redemption Outlook VBA and Custom Forms 2
A Creating Redemption.MAPIUtils failed with Windows 7 x64 Outlook VBA and Custom Forms 5
D href tags does not result in the full url with Redemption Outlook VBA and Custom Forms 4
E Redemption Foldes.Add doesn't work Outlook VBA and Custom Forms 3
E Redemption Foldes.Add doesn't work Outlook VBA and Custom Forms 3
E Should I switch to redemption Outlook VBA and Custom Forms 11
E Should I switch to redemption Outlook VBA and Custom Forms 11
C Redemption - Rules for outlook Outlook VBA and Custom Forms 1
G Error in Outlook Object Model with redemption and google apps prem Outlook VBA and Custom Forms 3
P Redemption Send EMail Outlook VBA and Custom Forms 10
S redemption reference Outlook VBA and Custom Forms 1
T Configure mailbox OutofOffice with Redemption Outlook Outlook VBA and Custom Forms 1
D redemption dll not registering in windows vista Outlook VBA and Custom Forms 3
Y Redemption MessageItem SaveAs problem Outlook VBA and Custom Forms 8
R Newbie Redemption ISafeMailItemPtr question Outlook VBA and Custom Forms 6
Q GAL.ResolveName issue with REDEMPTION Outlook VBA and Custom Forms 5
Q REDEMPTION HANGING during LOGON Outlook VBA and Custom Forms 2
P Redemption not working on OL2007 Outlook VBA and Custom Forms 2
P Redemption Send EMail fails Outlook VBA and Custom Forms 4
S delete appointmentitem permanently using redemption Outlook VBA and Custom Forms 2
D redemption - foldercreate event + delegate user Outlook VBA and Custom Forms 8
C Assign To and CC list while using Redemption.dll library Outlook VBA and Custom Forms 10
U Re: Read fields with Redemption Outlook VBA and Custom Forms 1
V redemption MAPIUtils Outlook VBA and Custom Forms 3
N How to know the email sender (windows logon profile) from a Shared Mailbox Using Outlook 2
makinmyway Help Using Windows Desktop Search to Index Outlook PST of another User Logon Using Outlook 14
R "business contact manager logon failure server is in single user mode" - HELP! BCM (Business Contact Manager) 4
L Exchange Management Console - Initializtion failed on Logon Failure: unknown username or bad passwor Exchange Server Administration 4

Similar threads

Back
Top