09-21-2016 06:07 AM
Alfresco (Community). Current version: 5.1.0
### E-mail site invitation setting ###
notification.email.siteinvite=true
mail.host=smtp.ex01.proektng.local
mail.port=25
mail.protocol=smtp
mail.username=user_alfresco@proektng.local
mail.password=12345678
mail.encoding=UTF-8
mail.smtp.starttls.enable=true
mail.smtp.auth=true
log:
2016-09-21 14:33:23,718 ERROR [org.alfresco.repo.action.executer.MailActionExecuter] [mailAsyncAction1] Failed to send email to 'djon@proektng.local' as the address is incorrectly formatted
i need help!
09-22-2016 04:26 AM
To disable email validator
just add mail.validate.addresses=false in your alfresco-global.properties file .
09-21-2016 06:19 AM
Any mail send via the MailActionExecuter will include validation of email addresses. Unfortunately the address validator does not consider "local" to be a valid top level domain and thus rejects the address.
The validator used by Alfresco is slightly outdated and may not be aware of any top level domains that have recently been approved / added by IANA.
At the moment you'd have to change the email addresses you use to make sending emails work.
09-21-2016 06:46 AM
we use the corporate mail server and corporate domain .local
Can i disable the email validator?
09-21-2016 06:51 AM
No - there is no option that can be set to disable the email validator in that action. I had the same kind of issue reported by a customer earlier this year who was using an ancient version of Alfresco and checked this back then - the only way to disable validation would be to apply a source-level patch to Alfresco, which I do not recommend doing except for those that consider themselves Alfresco / software development experts.
09-21-2016 06:56 AM
I saw a solution for version 3.4
there is an alternative way to send notifications ? (jabber)
i want disable the email validator
09-22-2016 04:26 AM
To disable email validator
just add mail.validate.addresses=false in your alfresco-global.properties file .
09-22-2016 04:30 AM
Oh - that setting must have been added in 5.0. Haven't seen that yet..
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.