Hi!
Is this issue solved?
I am currently testing the workflow capabilities, and first I wanted to have unassigned tickets sent to mail address.
I've set both
notification.to
notification.host
parameters and can see the log screen as it generates report, BUT
mail cannot be sent because of: javax.mail.MessagingException error.
Following is excerpt from log:
.....
- This is an automated message **
The following tickets in Centric CRM are unassigned and need attention:
ComponentContext-> notification.host: mail.amphinicy.hr
Notification-> To: vladimir.semencic@amphinicy.hr
Send error: javax.mail.MessagingException: 501 Syntax: HELO hostname
<br><br>
ReportBuilder Error: Report could not be sent
javax.mail.MessagingException: 501 Syntax: HELO hostname
true
WorkflowManager-> saveAnchors: dhv.report.ticketList.overdue
ComponentContext-> process.nextAnchor: 2006-08-31 11:30:56.064
ComponentContext-> process.lastAnchor: 2006-08-31 11:30:55.064
WorkflowManager-> Business Process End
In EMailDigestUtil.java this code looks suspicious to me:
String host = context.getParameter(SendUserNotification.HOST);
if (host != null && !"".equals(host))
thisNotification.setHost(host);
} else
thisNotification.setHost(context.getParameter("MAILSERVER"));
}
Why is it used SendUserNotification.HOST variable and only context.getParameter("MAILSERVER") to set the host?
If I must I will recompile the code and test it but would like to have your opinion if I am doing something wrong.
v.