cancel
Showing results for 
Search instead for 
Did you mean: 

mail not sent out while inviting an external user to join a website.

andy2_0
Champ in-the-making
Champ in-the-making
I input last name, first name and email address to invite an external user to join the website, and got the following warn message, invitation not sent out by Email. Anybody please help on this?

2013-12-20 17:07:19,898  WARN  [security.person.PersonServiceImpl] [http-apr-8182-exec-12] PersonService.getPeopleFilteredByProperty() is being called to find people by {http://www.alfresco.org/model/content/1.0}email. Only PROP_FIRSTNAME, PROP_LASTNAME, PROP_USERNAME are now used in the search, so fewer nodes may be returned than expected of there are more than 100 users in total.
4 REPLIES 4

marco_altieri
Star Contributor
Star Contributor
What version of alfresco are you using ?

pmajmudar
Champ in-the-making
Champ in-the-making
Have you configured outbound emails?
Alfresco Administrator can configure this from Admin Console -> Email (Outbound) option.

Thanks,
Pallika
CIGNEX Datamatics

andy2_0
Champ in-the-making
Champ in-the-making
I have the same issue:

Alfresco Server: CentOS 6.3, 64bit, Alfresco Community 4.2.e.

First, I don't see the Email Option in Admin Console.
So I modified the alfresco-global.properties file directly.

Below are the details:

[Alfresco Server]
CentOS 6.3, 64bit, Alfresco Community 4.2.e

[Email settings] in alfresco-global.properties:
### E-mail site invitation setting ###
notification.email.siteinvite=true

#imap.server.enabled=true
#imap.server.port=993
#imap.server.host=imap.gmail.com

#
# Outbound Email Configuration
#————-
mail.host=smtp.163.com
mail.port=25
mail.username=xxxxxxx@163.com
mail.password=**********
mail.encoding=UTF-8
mail.from.default=xxxxxxx@163.com
mail.smtp.auth=true

#
# Alfresco Email Service and Email Server
#————-
# Enable/Disable the inbound email service. The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#————-
#email.inbound.enabled=true

# Email Server properties
#————-
#email.server.enabled=true
#email.server.port=25
#email.server.domain=fandasoft.com
#email.inbound.unknownUser=anonymous

[Error Log]
2013-12-25 23:19:32,269 ERROR [action.executer.MailActionExecuter] [http-apr-8182-exec-3] Failed to send email to xxxxx@xxxxxx.com
org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException
at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:392)


Caused by: javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:306)
at org.alfresco.repo.mail.AlfrescoJavaMailSender$TransportFactory.makeObject(AlfrescoJavaMailSender.java:71)

I can send out the Email using the same configuration in a Java-written program.

Anybody please help on it?? Thanks a lot!

rjohnson
Star Contributor
Star Contributor
I had similar problems and ended up setting further properties in alfresco-global.properties as below.


# Additional Java Mail properties for SMTP protocol
mail.smtp.auth=true
mail.smtp.debug=false
mail.smtp.timeout=30000
mail.smtp.starttls.enable=false

# Additional Java Mail properties for SMTPS protocol
mail.smtps.auth=false
mail.smtps.starttls.enable=false


They might work for you.
Getting started

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.