AnsweredAssumed Answered

Gmail E-mail Configuration for newbies

Question asked by andhaa on Apr 22, 2013
Latest reply on Apr 27, 2013 by andhaa
Hi,

I am a very new user to Alfresco world and have already fell in love with it. I have installed the latest community version on Windows platform and can access Alfresco via LAN.

I am facing trouble in sending invites for my sites created via Alfresco. When I select a user to send Invite and press Ivite button, Alfresco gives me a message "0 invites sent, 1 failure". I understand that Email settings have to enabled for Invites to start working in Alfresco.

In regards to setting Email, I opted to use GMAIL email account for communication through Alfresco and performed following steps:

1. Step 1: Made changes to alfresco-global.properties on following path: C:\Alfresco\tomcat\shared\classes.
2. Step 2: Entered GMAIL SMTP settings in alfresco-global.properties and saved the file (at this time Alfresco Service was stopped), following settings were entered:
   Note: At this point I have not set any Outbound email settings anywhere in Alfresco Config Files.
   # Sample Gmail settings
   mail.host=smtp.gmail.com
   mail.port=465
   mail.username=alfrescodms25@gmail.com
   mail.password=password
  
   # New Properties
   mail.protocol=smtps
   mail.smtps.starttls.enable=true
   mail.smtps.auth=true
   mail.testmessage.send=true
   mail.testmessage.to=alfrescodms25@gmail.com
   mail.testmessage.subject=Outbound SMTP
   mail.testmessage.text=The Outbound SMTP email subsystem is working.

   # Email Site Invitation
   notification.email.siteinvite=true

3. Step 3: Re-started the Alfresco Service and accessed Alfresco Share. It was observed that now Alfresco stopped working properly and was showing internal 500 errors.

4. Step 4: Undo all changes done to alfresco-global.properties on following path: C:\Alfresco\tomcat\shared\classes, restarted Alfresco service and accessed Alfresco   Share. It was observed that Alfresco Share was working fine again (without invites working).

I have gone through wiki and forum and due to limitation of my technical knowledge, I would really appreciate if someone guide me to setup Invites in my Alfresco installation.

Thanks & Regards,
Andhaa

Outcomes