Forums

Home » Liferay Social Office

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Geert Remaut
EMAIL POP3
April 4, 2011 7:51 AM
Answer

Geert Remaut

Rank: New Member

Posts: 16

Join Date: April 4, 2011

Recent Posts

Hello,
I tested the email configuration and adapted it following your instructions.
Have some questons :
- if i adapt the properties file, i only can do this for 1 emailadres
- i adapted the properties file, but how do i configure the emailsetting in SO ? how do i get the emails in SO ?
Doesn't work !


Geert
Ryan Park
RE: EMAIL POP3
April 4, 2011 12:15 PM
Answer

Ryan Park

LIFERAY STAFF

Rank: Regular Member

Posts: 111

Join Date: August 27, 2007

Recent Posts

Hi Geert,

Are you trying to use Mail (located in the navigation after login) or trying to configure out-bound email from Social Office for notifications?

-Ryan
Hitoshi Ozawa
RE: EMAIL POP3
April 4, 2011 3:31 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

By setting the email in portal-ext.properties, do you mean the following properties to set emails Liferay portal send to users (such as to notify when an user account has been created)?
mail.session.mail.pop3.host=localhost
mail.session.mail.pop3.password=
mail.session.mail.pop3.port=110
mail.session.mail.pop3.user=
mail.session.mail.smtp.auth=false
mail.session.mail.smtp.host=localhost
mail.session.mail.smtp.password=
mail.session.mail.smtp.port=25
mail.session.mail.smtp.user=
mail.session.mail.store.protocol=pop3
mail.session.mail.transport.protocol=smtp

If you just want to use the mail portlet, you can set the email address from the portlet. Liferay doesn't contain email servers so you have to have a valid email account somewhere (e.g. gmail).

From the menu do the following on each user's private page:
1. Add - Collaboration - Mail (or Mail - Vaadin)
2. "Add Mail Account"
Geert Remaut
RE: EMAIL POP3
April 5, 2011 7:54 AM
Answer

Geert Remaut

Rank: New Member

Posts: 16

Join Date: April 4, 2011

Recent Posts

So doesn't work with exchange ?
Pitty.
Bryan Cheung
RE: EMAIL POP3
April 5, 2011 11:55 AM
Answer

Bryan Cheung

LIFERAY STAFF

Rank: Expert

Posts: 363

Join Date: August 26, 2004

Recent Posts

Geert,

What exactly would you like to be able to do?
Geert Remaut
RE: EMAIL POP3
April 6, 2011 8:54 AM
Answer

Geert Remaut

Rank: New Member

Posts: 16

Join Date: April 4, 2011

Recent Posts

WE HAVE 5 USERS
EACH DIFFERENT EMAILADRES
I USE EXCHANGE AND POP3
HOW DO I GET EMAIL IN LIFERAY ?
Ryan Park
RE: EMAIL POP3
April 6, 2011 11:12 AM
Answer

Ryan Park

LIFERAY STAFF

Rank: Regular Member

Posts: 111

Join Date: August 27, 2007

Recent Posts

Hi Geert,

At this time we only support the IMAP protocol for email.

Best, Ryan
Geert Remaut
RE: EMAIL POP3
April 7, 2011 1:24 AM
Answer

Geert Remaut

Rank: New Member

Posts: 16

Join Date: April 4, 2011

Recent Posts

Do you have another solution ?
Adapting javamail works only for 1 emailadres.
Franklin Moses
RE: EMAIL POP3
June 12, 2012 8:38 AM
Answer

Franklin Moses

Rank: New Member

Posts: 6

Join Date: December 9, 2011

Recent Posts

Hi I was having the same error with the following when trying to setup an IMAP account:
You have failed to connect to the imap server but successfully connected to the smtp

I did a little searching and came across this thread:
http://www.liferay.com/community/forums/-/message_boards/message/4037398?_19_redirect=http%3A%2F%2Fwww.liferay.com%2Fcommunity%2Fforums%2F-%2Fmessage_boards%2Fsearch%3F_19_keywords%3Dimap%26_19_searchCategoryId%3D0%26_19_breadcrumbsCategoryId%3D0%26_19_redirect%3Dhttp%253A%252F%252Fwww.liferay.com%252Fcommunity%252Fforums%253Fp_p_id%253D19%2526p_p_lifecycle%253D0%2526p_p_state%253Dnormal%2526p_p_mode%253Dview%2526p_p_col_id%253Dcolumn-1%2526p_p_col_count%253D1

So I added the following lines to the portal ext files
mail.session.mail.imap.host="<mydomain>"
mail.session.mail.imap.port="143"
mail.session.mail.imap.password="<mypw>"
mail.session.mail.imap.user="admin@<mydomain>"
mail.session.mail.store.protocol="imap"

After I did this I was able to add an e-mail account for the admin in SO, but when I was having a few users add their accounts I got the same error again:
You have failed to connect to the imap server but successfully connected to the smtp

The admin e-mail is working perfectly, but I can't seem to figure out why it's not working for all the users? How would I correct this, or do I need to change my portal ext file?
Franklin Moses
RE: EMAIL POP3
June 27, 2012 9:16 AM
Answer

Franklin Moses

Rank: New Member

Posts: 6

Join Date: December 9, 2011

Recent Posts

I've been able to get the site to register the e-mail addresses. Unfortunately it doesn't seem to be updating, sending or receiving e-mails after the initial setup. During the initial setup it shows the e-mails, but when I try to send from SO, or I send e-mails to the address I don't see the e-mails under SO. It doesn't seem to actively be updating.

This is my settings for the portal-ext.

jdbc.default.driverClassName=org.postgresql.Driver
jdbc.default.url=jdbc:postgresql://localhost:5432/soportal
jdbc.default.username=postgres
jdbc.default.password=xxwwss
mail.session.mail.pop3.host=mail.mydomain.com
mail.session.mail.pop3.password=admin321
mail.session.mail.pop3.port=110
mail.session.mail.pop3.user=administration@mydomain.com
mail.session.mail.smtp.auth=false
mail.session.mail.smtp.host=mail.mydomain.com
mail.session.mail.smtp.password=admin321
mail.session.mail.smtp.port=26
mail.session.mail.smtp.user=administration@mydomain.com
mail.session.mail.store.protocol=pop3
mail.session.mail.transport.protocol=smtp
mail.session.mail.imap.host=mail.mydomain.com
mail.session.mail.imap.port=143
mail.session.mail.imap.password=admin321
mail.session.mail.imap.user=administration@mydomain.com
mail.session.mail.store.protocol=imap

Am I missing something somewhere?