mdirkse

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-09-01
13:44
1488 views
Can't get SMTP-sent messages via SOAP
Hi,
I've written a SOAP retention client in java that reads messages from all users in my GW system (8.0.2). This works flawlessly as long as the messags originate from within GW. If I use SMTP to send a message to a GW user via the GWIA, that message does appear in the user's inbox, but I can't find it in that same inbox using my message cursor. Even if I clear the retention date from the mailbox completely, I can't get the cursor to list the new SMTP-origin messages. I know it's there, I just can't get to it using SOAP. Not being able to archive messages that don't originate within the system obviously greatly limits the usefulness of my archiving app, so I'm hoping someone can help me out with this.
The view I use for the cursor is "peek message/RTF delivered subject priority hasAttachments priority size attachments custom email from default recipients sendoptions".
The container I query is "folders".
I've searched this forum and the docs for this, but can't seem to figure it out. I must be missing a setting somewhere, or something. Anyone have any idea how I can access smtp-origin messages from SOAP?
Thanks in advance,
Maarten
I've written a SOAP retention client in java that reads messages from all users in my GW system (8.0.2). This works flawlessly as long as the messags originate from within GW. If I use SMTP to send a message to a GW user via the GWIA, that message does appear in the user's inbox, but I can't find it in that same inbox using my message cursor. Even if I clear the retention date from the mailbox completely, I can't get the cursor to list the new SMTP-origin messages. I know it's there, I just can't get to it using SOAP. Not being able to archive messages that don't originate within the system obviously greatly limits the usefulness of my archiving app, so I'm hoping someone can help me out with this.
The view I use for the cursor is "peek message/RTF delivered subject priority hasAttachments priority size attachments custom email from default recipients sendoptions".
The container I query is "folders".
I've searched this forum and the docs for this, but can't seem to figure it out. I must be missing a setting somewhere, or something. Anyone have any idea how I can access smtp-origin messages from SOAP?
Thanks in advance,
Maarten
2 Replies
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-09-01
17:18
You could do a SOAP trace to see if the internet
messages are getting to your application. My guess
is your application is getting hung up on the
"internet" attribute. Any item that comes in
through the GWIA will have an 'internet="1"'
attribute. That should be the only major difference
between an internal message and an external one.
Preston
>>> On Wednesday, September 01, 2010 at 7:06 AM,
mdirkse<mdirkse@no-mx.forums.novell.com> wrote:
> Hi,
> I've written a SOAP retention client in java that reads messages from
> all users in my GW system (8.0.2). This works flawlessly as long as the
> messags originate from within GW. If I use SMTP to send a message to a
> GW user via the GWIA, that message does appear in the user's inbox, but
> I can't find it in that same inbox using my message cursor. Even if I
> clear the retention date from the mailbox completely, I can't get the
> cursor to list the new SMTP‑origin messages. I know it's there, I just
> can't get to it using SOAP. Not being able to archive messages that
> don't originate within the system obviously greatly limits the
> usefulness of my archiving app, so I'm hoping someone can help me out
> with this.
>
> The view I use for the cursor is "peek message/RTF delivered subject
> priority hasAttachments priority size attachments custom email from
> default recipients sendoptions".
> The container I query is "folders".
>
> I've searched this forum and the docs for this, but can't seem to
> figure it out. I must be missing a setting somewhere, or something.
> Anyone have any idea how I can access smtp‑origin messages from SOAP?
>
> Thanks in advance,
> Maarten
messages are getting to your application. My guess
is your application is getting hung up on the
"internet" attribute. Any item that comes in
through the GWIA will have an 'internet="1"'
attribute. That should be the only major difference
between an internal message and an external one.
Preston
>>> On Wednesday, September 01, 2010 at 7:06 AM,
mdirkse<mdirkse@no-mx.forums.novell.com> wrote:
> Hi,
> I've written a SOAP retention client in java that reads messages from
> all users in my GW system (8.0.2). This works flawlessly as long as the
> messags originate from within GW. If I use SMTP to send a message to a
> GW user via the GWIA, that message does appear in the user's inbox, but
> I can't find it in that same inbox using my message cursor. Even if I
> clear the retention date from the mailbox completely, I can't get the
> cursor to list the new SMTP‑origin messages. I know it's there, I just
> can't get to it using SOAP. Not being able to archive messages that
> don't originate within the system obviously greatly limits the
> usefulness of my archiving app, so I'm hoping someone can help me out
> with this.
>
> The view I use for the cursor is "peek message/RTF delivered subject
> priority hasAttachments priority size attachments custom email from
> default recipients sendoptions".
> The container I query is "folders".
>
> I've searched this forum and the docs for this, but can't seem to
> figure it out. I must be missing a setting somewhere, or something.
> Anyone have any idea how I can access smtp‑origin messages from SOAP?
>
> Thanks in advance,
> Maarten
mdirkse

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-09-01
19:08
Hi Preston,
Thanks for the tip. Did a soap trace and realized/remembered that I was setting a source filter with the value "sent received" like so:
If I remove that filter I get everything. Weird, because you'd think it still falls under the "received" category.
Regards,
Maarten
Thanks for the tip. Did a soap trace and realized/remembered that I was setting a source filter with the value "sent received" like so:
final FilterEntry f2 = new FilterEntry();
f2.setOp(FilterOp.IS_OF);
f2.setField("source");
f2.setValue("sent received");
fg.getElement().add(f2);
If I remove that filter I get everything. Weird, because you'd think it still falls under the "received" category.
Regards,
Maarten
Preston Stephenson;2017692 wrote:
You could do a SOAP trace to see if the internet
messages are getting to your application. My guess
is your application is getting hung up on the
"internet" attribute. Any item that comes in
through the GWIA will have an 'internet="1"'
attribute. That should be the only major difference
between an internal message and an external one.
Preston