Re: Message stays in outbox
- From: Ashutosh Bhawasinka <smbs-msdn@xxxxxxxxxxxxx>
- Date: Tue, 03 Jun 2008 18:47:13 +0530
There is however one difference when the same code used to run over a year back (it was just a test code). Earlier I used only ANSI strings and now I am using Unicode strings.
Stephen Griffin [MSFT] wrote:
Ok - forget about submitting the message - that's not going to work until you fix the issue with ResolveName. Until ResolveName is working, the message isn't addressed, and there's no chance it could be sent.
So - what are you passing into ResolveName? What is pAddressList? Can you show the code that builds it?
Steve
"Ashutosh Bhawasinka" <smbs-msdn@xxxxxxxxxxxxx> wrote in message news:ewFyufUxIHA.3336@xxxxxxxxxxxxxxxxxxxxxxxHi,
I checked
1) with a profile having only a exchange account (NOT in cached mode)
- The message is NOT italicized in the outbox.
- When submitting message the return code was E_FAIL
2) with a profile having Just a POP account(s)/pst
- The message is italicized
- Submit message succeeds but it remains in outbox
hRes = pAddrBook->ResolveName(0, 0, 0, pAddressList);
always fails
I even changed
hRes = pMsg->SaveChanges(KEEP_OPEN_READWRITE)
pMsg->SubmitMessage(FORCE_SUBMIT )
to
hRes = pMsg->SaveChanges(0)
pMsg->SubmitMessage(0 )
Even then the same result.
Regards,
Ashutosh
Dmitry Streblechenko wrote:Does it work if you switch profile to using the online mode (uncheck the "use cached mode" checkbox)?
--
Ashutosh Bhawasinka
email:expert@xxxxxxxxxxx
.
- Follow-Ups:
- Re: Message stays in outbox
- From: Stephen Griffin [MSFT]
- Re: Message stays in outbox
- References:
- Message stays in outbox
- From: Ashutosh Bhawasinka
- Re: Message stays in outbox
- From: Dmitry Streblechenko
- Re: Message stays in outbox
- From: Ashutosh Bhawasinka
- Re: Message stays in outbox
- From: Dmitry Streblechenko
- Re: Message stays in outbox
- From: Ashutosh Bhawasinka
- Re: Message stays in outbox
- From: Stephen Griffin [MSFT]
- Message stays in outbox
- Prev by Date: Re: Message stays in outbox
- Next by Date: Re: How to replace an attachment from a file.wav to a winmail.dat
- Previous by thread: Re: Message stays in outbox
- Next by thread: Re: Message stays in outbox
- Index(es):
Relevant Pages
|