[
https://jira.jboss.org/browse/JBPM-2905?page=com.atlassian.jira.plugin.sy...
]
Alejandro Guizar commented on JBPM-2905:
----------------------------------------
The property name "mail.from" is right, see
http://java.sun.com/products/javamail/javadocs/overview-summary.html
The problem is that the message's "from" attribute is not filled with the
"mail.from" property automatically. Instead, method message.setFrom() has to be
called explicitly. This was missing from the Mail action handler. I added a testFrom()
method to the MailTest case to validate the "from" attribute is correctly set.
As for the default "mail.from" address, I thought "jbpm@noreply"
looked a lot like a bogus email address to spam filters, hence the change. I believe
clients that employ the mail feature change the source address anyway, so this is unlikely
to affect them.
From header is not set on the email
-----------------------------------
Key: JBPM-2905
URL:
https://jira.jboss.org/browse/JBPM-2905
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: jBPM 3.2.9
Environment: 3.2.9 in SOA-P 5.0.2 CR3
Reporter: Jiri Pechanec
Assignee: Alejandro Guizar
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
org.jbpm.mail.Mail line 319
serverProperties.setProperty("mail.from", from); should be
serverProperties.setProperty("mail.smtp.from", from); otherwise from filed is
not set on emails generated by jBPM
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira