i have added an menuitem on the compose e-mail screen and would like to add an extra header.
i can add recipients or modify the subject but addheader seems not to be working.
Code:
public Object run(Object context) {
try{
Message message = (Message) context;
Message message = (Message) context;
message.addHeader("REPLY_TO","user@domain.com");
message.addHeader("X-VOODOO", "voodoo on");
... i call getAllHeaders() to check if the new header is set but the resulting enumeration is empty.
Any idea?