on 01-17-2008 9:57 AM
Hi together,
we are trying to remove a Mail Attachment within a outgoing Mail with the help of a new Module executed by the Mailadapter. Since we are using the XI 3.0, we are trying to do that by this statements:
...
Message msg = (Message)inputModuleData.getPrincipalData();
Iterator it = msg.getAttachmentIterator();
Payload payload;
do
{
payload = (Payload)it.next();
if(payload.getName().equalsIgnoreCase("MailMessage"))
{
it.remove();
}
}while(it.hasNext()); ...
The statement "it.remove" doesn't work.
Does anyone have an idea, how we can remove the attachment?
Thanks & Regards
Thomas
I am sorry, the adapter module API does not support the removal of an attachment.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.