Re: Redemption Send/Drafts problem
From: Kristy (kristy_at_fluidsoftware.co.nz)
Date: 08/04/04
- Next message: Dattatraya Shewale: "Re: How to get Exchange/SMTP address from 'Distinguish Name' from Outlook mail Item"
- Previous message: Wong: "Error message after uninstalling Panda anti-virus"
- Next in thread: Dmitry Streblechenko \(MVP\): "Re: Redemption Send/Drafts problem"
- Reply: Dmitry Streblechenko \(MVP\): "Re: Redemption Send/Drafts problem"
- Messages sorted by: [ date ] [ thread ]
Date: 4 Aug 2004 01:42:19 -0700
Hi Dmitry
Loaded Outlook Spy onto one citrix server as Administrator. I then ran
the script you provided via the script editor as suggested as both
Administrator and then as a user.
There were no error messages for either, as Administrator the email
flushes immediately and everything works fantastically, however when
logged in as a user the mail does not get flushed and sits in drafts
until either F5 is pressed, Send/Receive clicked, or a normal email
forces it through.
It looks like it has something to do with the way the citrix sessions
work, ie the administrator emails get flushed. This may be because it
was the adminstrator that loaded the application. For some reason
even though the users run exactly the same files it doesn't seem to
want to work for them... do you have any ideas on what I can do to
work around this problem? Simulating a send/receive click does not
work as mentioned in earlier posts and I'm already using utils.deliver
now as Ken suggested.
Thanks
Kristy
"Dmitry Streblechenko \(MVP\)" <dmitry@dimastr.com> wrote in message news:<#qRm88zcEHA.3620@TK2MSFTNGP10.phx.gbl>...
> Can you ask your customer to install OutlookSpy and run the script?
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
>
> "Kristy" <kristy@fluidsoftware.co.nz> wrote in message
> news:1c6477a7.0407260032.2ac9aff5@posting.google.com...
> > Hi Dmitry
> >
> > I ran the code you supplied in Outlook Spy and it worked perfectly...
> > it has always worked on my pc's though it is on a customer site that
> > it doesn't seem to work? I have my addin loaded on 2 citrix servers
> > (both running on Windows 2003 server), running Outlook XP SP2. The
> > Exchange server is 2003 running on Windows Server 2003.
> >
> > One of the functions the addin does is to automatically send and print
> > a summary mailitem via a Word template. The message stays in the
> > drafts folder until either another messages forces the queue to
> > 'flush' or you hit Send/Receive, F5... I have tried Kens suggestion of
> > using utils.delivernow and it didn't make any difference, then I tried
> > your suggestion of simulating the 'click' of the send/recieve button
> > and that also makes no difference except I now get a 'ghost' item in
> > the Outbox, that cannot be sent and even when the queue is flushed
> > manually remains and has to be deleted.
> >
> > I can't see any posts where anyone else has had a similar problem so
> > I'm lost! From what I've read (and seen on my development pc's) this
> > should work just fine on Excgnage without having to use delivernow or
> > simulating clicks etc. Unfortunately this was a custom request by
> > this company so I haven't tried it in any other environment.
> >
> > Any ideas?
> >
> > Kristy
> >
> >
> >
> >
> > "Dmitry Streblechenko \(MVP\)" <dmitry@dimastr.com> wrote in message
> news:<uvuqVABcEHA.3012@tk2msftngp13.phx.gbl>...
> > > If you have OutlookSpy, installed, try to run the following code (click
> > > "Script Editor", paste the script, click Run).
> > > Does it run Ok?
> > >
> > > set oItem = Application.CreateItem(0)
> > > set sItem = CreateObject("Redemption.SafeMailItem")
> > > sItem.Item = oItem
> > > sItem.Recipients.Add "kristy@fluidsoftware.co.nz"
> > > sItem.Recipients.ResolveAll
> > > sItem.Subject = "test subject"
> > > sItem.Send
> > > set sItem=Nothing
> > > set oItem = Nothing
> > >
> > > Dmitry Streblechenko (MVP)
> > > http://www.dimastr.com/
> > > OutlookSpy - Outlook, CDO
> > > and MAPI Developer Tool
> > >
> > >
> > > "Kristy" <kristy@fluidsoftware.co.nz> wrote in message
> > > news:1c6477a7.0407212205.4f5efebf@posting.google.com...
> > > > Hi
> > > >
> > > > Outlook XP is online. I will try tonight simulating a click on
> > > > Send/Receive but would rather not use that method if there is another
> > > > way since I can't run the progress bar in the background... or can I,
> > > > does anyone know how???
> > > >
> > > > I was under the impression from the previous posts that I've read that
> > > > if I'm using exchange server the send function for redemption should
> > > > work without any problems, but I can't see what I'm doing wrong?
> > > >
> > > > Thanks
> > > >
> > > > Kristy
> > > >
> > > >
> > > > "Dmitry Streblechenko \(MVP\)" <dmitry@dimastr.com> wrote in message
> news:<eFOIvIRZEHA.2016@TK2MSFTNGP09.phx.gbl>...
> > > > > Is Outlook XP online or offline? Did you try to simulate a click on
> the
> > > > > Send/Receive button (http://www.dimastr.com/redemption/faq.htm#1)?
> > > > >
> > > > > Dmitry Streblechenko (MVP)
> > > > > http://www.dimastr.com/
> > > > > OutlookSpy - Outlook, CDO
> > > > > and MAPI Developer Tool
> > > > >
> > > > >
> > > > > "Kristy" <kristy@fluidsoftware.co.nz> wrote in message
> > > > > news:1c6477a7.0407072210.535bc69a@posting.google.com...
> > > > > > Hi
> > > > > >
> > > > > > I use Outlook Redemption (3.3.0.315) to automatically send and
> print
> > > > > > HTML emails with an attachment list.
> > > > > >
> > > > > > I seem to be having a problem with the messages remaining in the
> > > > > > Drafts Folder. I have read plenty of posts about this and most
> concur
> > > > > > that this is not an issue within an exchange environment...
> however I
> > > > > > am having the issue with Exchange 2003, Outlook XP SP2.
> > > > > >
> > > > > > The items are marked to send in the Drafts folder so if
> Send/Receive
> > > > > > or update (f5) is used then the items go as expected,
> unfortunatley
> > > > > > this is not good enough for my customer as they want it to go
> > > > > > immediately with no further thought :-(
> > > > > >
> > > > > > Also the item once in drafts is 'blocked' by Outlook so it cannot
> be
> > > > > > deleted, moved or anything!
> > > > > >
> > > > > > Should I try using utils.delivernow or send keys to simulate a
> send
> > > > > > receive (which I am going to try in the short term as this
> customer is
> > > > > > really giving me grief), I feel that I shouldn't have to so this
> and
> > > > > > am possibly just covering up a bigger issue?
> > > > > >
> > > > > > Code sample below is just like this...
> > > > > >
> > > > > > 'Call PrintInvoice
> > > > > > With sItem
> > > > > > .Save
> > > > > > .Recipients.ResolveAll
> > > > > > .Send
> > > > > > End With
> > > > > >
> > > > > > Is there anything obvious you can see?
> > > > > >
> > > > > > BTW... On my development pc's (Exchange 2000 and Outlook XP) it
> works
> > > > > > as expected.
> > > > > >
> > > > > > Thanks K
- Next message: Dattatraya Shewale: "Re: How to get Exchange/SMTP address from 'Distinguish Name' from Outlook mail Item"
- Previous message: Wong: "Error message after uninstalling Panda anti-virus"
- Next in thread: Dmitry Streblechenko \(MVP\): "Re: Redemption Send/Drafts problem"
- Reply: Dmitry Streblechenko \(MVP\): "Re: Redemption Send/Drafts problem"
- Messages sorted by: [ date ] [ thread ]