I added the gmail smtp configuration to the alfresco share. Whenever I created a new site. Whenever I invite someone a url is sent to the corresponding person but the url which is send is the problem. It is sending the local address which when clicked by the user in different computer will take to his localhost instead of alfresco share.
How to change this url. I am using alfresco share 4.2e,CE.
You need to set the properties of Alfresco's sysAdmin subsystem in your alfresco-global.properties: http://docs.alfresco.com/4.2/topic/com.alfresco.enterprise.doc/concepts/sysadmin-subsystem-props.html
e.g.:
share.host=myalfresco
share.port=80