Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

foxpro and groupwise

Status
Not open for further replies.

poeijer

Programmer
May 29, 2002
69
NL
Hi,

I acces outlook with the following code.

oOutlook = CreateObject("groupwise.application")
oNameSpace = oOutlook.getNameSpace("MAPI")
oInbox = oNameSpace.GetDefaultFolder(6)

and then i can get the messages with:
for each oMail oInbox.Items

from where do i need to change my code to let it work with groupwise? i acces groupwise with:

oGroupWise = CREATEOBJECT("NovellGroupWareSession")
oAccount = oGroupWise.Login
oMailbox = oAccount.mailbox

are the oMailbox and oInbox the same objects in this code?

btw the Q with the code to send a mail worked perfect..
 
I got it worked out now.

oMailbox = oAccount.mailbox

for each oMail in oMailbox.messages

replymail=omail.reply

senderemail=Replymail.recipients(1).address

endfor

only it crashed on the this error melding. it says in the error: i am not allowed to reply to this mail.

can this be a problem that their might be couple submaps in the mailbox?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top