Block Return Receipt

Have been trying to modify the “Inbox” view to add an extra column to show mails with return receipts. Next, would like to have an option to send / block return receipts. I tried to install the OpenNTF template but 'cos of security restrictions I have not been successful in replacing the design.

Subject: Block Return Receipt

return receipt block is more of a server level setting not a db level setting. This was in the product since R5.

HTH – Cheers

Subject: Block Return Receipt

If what you are trying to accomplish is to just make sure that you don’t send back any return receipts you can set up an agent that will handle that quite nicely. Create an agent to run when new mail has arrived and use the formula:

FIELD ReturnReceipt := “0”

That should turn off the return receipt feature.

Subject: RE: Block Return Receipt

I tried the agent but in order for the agent to work automatically and scan incoming mail it needs to run on the server not on the client. I do not have rights to run agents on our server.

Subject: RE: Block Return Receipt

Add the following code at the very beginning of the QueryOpen() event of the Memo form:

'-- Code added by Rick

If( Not Source.Document Is Nothing ) Then

	If( Source.Document.HasItem( "ReturnReceipt" ) ) Then

		If( Source.Document.ReturnReceipt(0) = "1" ) Then

			Messagebox "Deleting return receipt requested by:" _

			& Chr$(10) & Chr$(13) & Chr$(13) _

			& Source.Document.GetItemValue("From")(0) _

			& Chr$(10) & Chr$(13) _

			& "                       ", _

			16, _

			"WARNING: Detected Return Receipt Request"

			Source.Document.ReturnReceipt = "0"

			Source.Document.Save True, False

		End If

	End If		

End If

'-- End of Code added by Rick

Then, add a column to the ($Inbox) folder and set the ‘display values as icons’ property of the column. Use the following formula:

@If(ReturnReceipt=“1”; 56; 0);

Hope that helps.