Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 21 JAN 2004 12:16:07AM Mark B wrote:

I know there is an abundance of threads that refer to mapi functions and OI but I am yet to find one that answers what I need.

I have been able to send emails, send emails with attachments, read emails, and delete emails. Everything good so far.

My stumbling block is being able to control where I read emails from.

What I want to do is simple in concept. Send an email, then delete it.

As I mentioned earlier, I can successfully send emails with the required attachment. I don't however want the emails lingering in my (or the clients) sent items folder.

The code below

MAPIOpenMail(session, @Window,, , ids)

successfully returns the ids of the emails in my inbox.

I believe I need to do this in order to use MAPIDeleteMail.

The problem is I need the ids of the emails in my sent items folder, not the inbox.

What do I need to do to use MAPIOpenMail on the sent items folder, or is there another simpler way to delete an email you have just sent.

TIA

Mark B


At 21 JAN 2004 12:50AM Donald Bakke wrote:

Mark,

If I had an answer that relates to MAPI I would offer it. However, I might have an alternative option for you with this but I need you to email me directly as it relates to a commerical product.

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 21 JAN 2004 04:21AM Tim Marler wrote:

Mark,

From memory I don't think you can. I believe the MAPI stuff in OI is Simple MAPI and only supports reading emails from the 'Inbox'.

Sorry :-(

Tim

PS If you do find a way, please let me know through these boards…

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/439d1b304b00535785256e22001cf146.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1