S
Stèphan Eizinga
Hello,
I want to collect the recipients from a mail message.
We use this SQL query in MAPITable.ExecSQL "SELECT
Recipients,Body,SenderEmailType,SenderEmailAddress FROM Folder"
If this QUERY is correct, how can I get the items from Recipients?
I use the latest Outlook Redemption v. 4.4 and PowerBuilder 11.1
- BEGIN POWERBUILDER CODE -
loo_ADOrecordset = io_folder.Items.MAPITable.ExecSQL('SELECT
Recipients,Body,SenderEmailType,SenderEmailAddress FROM Folder')
DO WHILE (loo_ADOrecordset.EOF = FALSE)
// How can I read this out?
st_recipients = loo_ADOrecordset.Fields.Item("Recipients").Value
// Working correct!
st_sendermail =
loo_ADOrecordset.Fields.Item("SenderEmailAddress").Value
loo_ADOrecordset.MoveNext()
LOOP
- END POWERBUILDER CODE -
King regards,
Stèphan Eizinga
I want to collect the recipients from a mail message.
We use this SQL query in MAPITable.ExecSQL "SELECT
Recipients,Body,SenderEmailType,SenderEmailAddress FROM Folder"
If this QUERY is correct, how can I get the items from Recipients?
I use the latest Outlook Redemption v. 4.4 and PowerBuilder 11.1
- BEGIN POWERBUILDER CODE -
loo_ADOrecordset = io_folder.Items.MAPITable.ExecSQL('SELECT
Recipients,Body,SenderEmailType,SenderEmailAddress FROM Folder')
DO WHILE (loo_ADOrecordset.EOF = FALSE)
// How can I read this out?
st_recipients = loo_ADOrecordset.Fields.Item("Recipients").Value
// Working correct!
st_sendermail =
loo_ADOrecordset.Fields.Item("SenderEmailAddress").Value
loo_ADOrecordset.MoveNext()
LOOP
- END POWERBUILDER CODE -
King regards,
Stèphan Eizinga