Alfresco make use of the OutboundSMTP subsystem informing you of certain events, such as recent site activities and invitations to join sites. For example when a new user is invited to a site an email is sent. In addition Alfresco also supports accessing the Repository via the IMAP protocol. The protocol allows email applications that support IMAP, including Outlook, Apple Mail and Thunderbird, to connect to and interact with Alfresco repositories directly from the mail application. Here the two subsystem settings (alfresco-global.properties).
# Inbound Email Configuration #--------------------------------------------------- imap.server.enabled=true imap.server.port=11143 imap.server.host=0.0.0.0 imap.server.attachments.extraction.enabled=true imap.config.home.store=${spaces.store} imap.config.home.rootPath=/${spaces.company_home.childname} imap.config.home.folderPath=Imap Home imap.config.server.mountPoints=Afolder imap.config.server.mountPoints.default.mountPointName=IMAP imap.config.server.mountPoints.default.modeName=ARCHIVE imap.config.server.mountPoints.default.store=${spaces.store} imap.config.server.mountPoints.default.rootPath=/${spaces.company_home.childname} imap.config.server.mountPoints.value.Afolder.mountPointName=AFOLDER imap.config.server.mountPoints.value.Afolder.modeName=MIXED
# Outbound Email Configuration #--------------------------------------------------- notification.email.siteinvite=true mail.host=smtp.gmail.com mail.port=465 mail.protocol=smtps mail.username=myuser@gmail.com mail.password=test mail.encoding=UTF-8 mail.from.default=default@default.com #mail.smtp.auth=true #mail.smtp.debug=true #mail.smtp.starttls.enable=true mail.smtps.auth=true mail.smtps.starttls.enable=true mail.testmessage.send=true mail.testmessage.to=test@test.it mail.testmessage.subject=test Outbound SMTP mail.testmessage.text=test The Outbound SMTP email subsyst
Thanks a lot, outbound email settings works perfectly…
Nice to hear it works!
Thanks for your comment.
hi, i have configured like you but i don’t receive emails… 🙁 maybe other configurations additional? DNS? ANY SERVICES?? thanks
Check your Alfresco version first and take a look at the official documentation. Here is that one for the last Alfresco 5.1:
http://docs.alfresco.com/5.1/concepts/email-intro.html
i am able to receive yahoo emails but not gmail emails.
GOT ERROR, using Port-465. My_Email-Server is in REMOTE(Zimbra)
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: zimbra-mail.centos7.local, port: 465;
The log error speaks clear: “unable to find valid certification path to requested target”. I think you’re using a self-signed certificate for the domain “zimbra-mail.centos7.local”. In order to work with SSL/TLS domains, you have to add your mail server certificate into the java virtual machine. Take a look here: https://stackoverflow.com/questions/11617210/how-to-properly-import-a-selfsigned-certificate-into-java-keystore-that-is-avail
Hi Giuseppe .
I just finished to set up the outbound email configuration subsystem, and it worked perfectly. Next, I’ll try to configure inbound email. So thank you, it was (and sure it’ll be later) very useful.
Regards.
Santiago.