|
| WinDev 18 Accessing multiple mailboxes through outlook |
| Iniciado por rob, 27,oct. 2014 17:35 - 1 respuesta |
| |
| | | |
|
| |
Miembro registrado 105 mensajes |
|
| Publicado el 27,octubre 2014 - 17:35 |
Hi everyone. I'm running into a bit of a weird issue, so I'll give you an overview of what's going on, and see if anyone has any ideas.
So I have this automated system in place that send me emails to a specific mailbox on our exchange server. Those emails are then placed into folders based on rules.
What I'm trying to do, is design a program that helps me manage this more efficiently.
The account that these emails are sent to is connected to my MS Outlook profile as an additional mailbox. So I can easily view these folders, move emails, delete them, whatever.
I'm using EmailStartOutlookSession() to open the outlook session. EmailChangeFolder() to change to the appropriate folder. This seems to work, and doesn't return any error message. and this is confirmed by using EmailCurrentFolder()
However, when using EmailReadFirst(), it sets Email.Out = 1 and Email.Error = 0
Like it can't find any emails in the folder specified. But I know they're there.
If I switch the current folder to my personal Inbox, the same code works fine. So I'm pretty sure it's not a code issue.
Anyways, My question is, is there an issue using EmailChangeFolder when trying to access an additional mailbox?
As always, any input is greatly appreciated! |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 105 mensajes |
|
| Publicado el 27,octubre 2014 - 20:28 |
| It appears that this is a scenario that doesn't work with WinDev as the example application has the same problem. |
| |
| |
| | | |
|
| | | | |
| | |
|