cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Notification-Disposition-to from .eml

stewball
Champ in-the-making
Champ in-the-making
Hello everybody,

I have a problem with outlook "read recipe". When I share an mail with a read recipe demand, everybody send a response. I'm using outlook 2007 and it's a default of Outlook which isn't fix… I would like to build a web script which delete a line of the eml file:
Disposition-Notification-To: "XXXXXX" <yyyyyy@zzzz.com>
Do you think it could solve my problem?
Do you have an idea how to proceed?

Thanks by advance for your help.

Stewball
1 REPLY 1

stewball
Champ in-the-making
Champ in-the-making
In order to delete the read and reciepe notification, i have done the following script:

var email=document.content;
var pos=0;


pos=email.indexOf("Disposition-Notification-To:");

if (pos!=-1)
{

document.addAspect("cm:versionable");

var workingCopy = document.checkout();

workingCopy.content=email.substring(0,pos);
pos+=28;
workingCopy.content+=email.substr(pos);

workingCopy.checkin("Suppression de l'accusé de lecture");
}