AnsweredAssumed Answered

'From' email field incorrect

Question asked by zladuric on Apr 2, 2010
Latest reply on Oct 13, 2010 by zladuric
Hello,

I'm not exactly sure that this goes to the workflow forum, but I really think so.
I have a workflow deployed and on certain transition, I send e-mails from javascript.

I always set the mail.parameters.from = "something@mydomain.com"  (I put the actual, existing e-mail address here, the same that's set in custom-repostirory.properties).

My problem is that the "From" field in the actual e-mail that gets send out is set to the email address of the workflow initiator.

This causes the problem with e-mails - some of them don't go out because of the SMTP 550 error:
class com.sun.mail.smtp.SMTPAddressFailedException: 550 relay not permitted

Can I set the "from" fields in the outgoing e-mails properly somehow? If not, can I override ALL outgoing e-mails with my default e-mail?

Outcomes