Hi!
I read at http://servicemix.apache.org/servicemix-mail.html:
<<<
How is the sender determined?
if there is a preconfigured sender for the endpoint from xbean.xml, it
will be used
else if MSG_TAG_FROM is defined in the message properties, then it will
be used
else the method getDefaultSender() of the marshaler is invoked
>>>
Also I looked at the source (I downloaded it some month ago from
3.3-SNAPSHOT):
<<< MailSenderEndpoint.java
public void validate() throws DeploymentException {
super.validate();
if (this.config == null || this.connection == null) {
throw new DeploymentException("No valid connection uri
provided.");
}
if (this.sender == null) {
this.sender = this.marshaler != null
? this.marshaler.getDefaultSenderForOutgoingMails() :
AbstractMailMarshaler.DEFAULT_SENDER;
}
}
>>>
So, it seems, there is no way to configure "sender" header for e-mail
via MSG_TAG_FROM.
Am I right? Or maybe it is already fixed?
Truly yours,
Ivan Pryvalov.