Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-33051

Email Confirmation for Site Membership Request not sending

    Details

    • Fix Priority:
      5

      Description

      Email Confirmation for any created users trying to request membership to a private site won't send and there will be console errors when a user with a 'liferay.qa#@gmail.com' email is saved.

      Steps to Reproduce:

      1. Configure mail settings in the Control Panel > Server Administration > Mail
      2. Change the Portal Instances > Mail Domain to 'gmail.com' to match the mail settings from above
      3. Create a restricted site (Test Restricted Site)
      4. Create a site role (Member Manager)
        • Define permissions for 'Site Administration -> Site -> Assign Members'
      5. Add User1 with a receivable email address and assign it to Test Restricted Site
      6. Change Test/Joe Bloggs' email to a receivable email address
      7. Add User2
      8. Add My Sites portlet to homepage
      9. Sign in to Portal as User2
      10. Request Membership to Test Restricted Site (Available Sites > Test Restricted Site)
      11. Sign in to Test/Joe Bloggs' email service (i.e. Gmail)
      12. Assert a membership request email was received

      At this point, the user is expecting to see a Site Membership Request email, but nothing is sent. Additionally, when a user with a receivable email address is being made - steps 6 & 7 - (right after clicking Save), the following error displays in console:

      00:40:23,014 ERROR [liferay/mail-2][MailEngine:570]
      00:40:23,015 ERROR [liferay/mail-2][MailEngine:154] javax.mail.AuthenticationFailedException
              at javax.mail.Service.connect(Service.java:306)
              at com.liferay.util.mail.MailEngine._send(MailEngine.java:513)
              at com.liferay.util.mail.MailEngine.send(MailEngine.java:331)
              at com.liferay.util.mail.MailEngine.send(MailEngine.java:400)
              at com.liferay.mail.messaging.MailMessageListener.doMailMessage(MailMessageListener.java:95)
              at com.liferay.mail.messaging.MailMessageListener.doReceive(MailMessageListener.java:110)
              at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
              at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
              at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:68)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:675)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:586)
              at java.lang.Thread.run(Thread.java:619)
      

        Attachments

          Activity

            People

            • Assignee:
              brian.wulbern Brian Wulbern
              Reporter:
              brian.wulbern Brian Wulbern
              Participants of an Issue:
              Recent user:
              Marta Elicegui
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 24 weeks, 6 days ago

                Packages

                Version Package
                6.2.0 CE M4