Foren

Home » Liferay Social Office

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
Geert Remaut
EMAIL POP3
4. April 2011 07:51
Antwort

Geert Remaut

Rang: New Member

Nachrichten: 16

Eintrittsdatum: 4. April 2011

Neue Beiträge

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
4. April 2011 12:15
Antwort

Ryan Park

LIFERAY STAFF

Rang: Regular Member

Nachrichten: 111

Eintrittsdatum: 27. August 2007

Neue Beiträge

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
4. April 2011 15:31
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

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
5. April 2011 07:54
Antwort

Geert Remaut

Rang: New Member

Nachrichten: 16

Eintrittsdatum: 4. April 2011

Neue Beiträge

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

Bryan Cheung

LIFERAY STAFF

Rang: Expert

Nachrichten: 363

Eintrittsdatum: 26. August 2004

Neue Beiträge

Geert,

What exactly would you like to be able to do?
Geert Remaut
RE: EMAIL POP3
6. April 2011 08:54
Antwort

Geert Remaut

Rang: New Member

Nachrichten: 16

Eintrittsdatum: 4. April 2011

Neue Beiträge

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

Ryan Park

LIFERAY STAFF

Rang: Regular Member

Nachrichten: 111

Eintrittsdatum: 27. August 2007

Neue Beiträge

Hi Geert,

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

Best, Ryan
Geert Remaut
RE: EMAIL POP3
7. April 2011 01:24
Antwort

Geert Remaut

Rang: New Member

Nachrichten: 16

Eintrittsdatum: 4. April 2011

Neue Beiträge

Do you have another solution ?
Adapting javamail works only for 1 emailadres.
Franklin Moses
RE: EMAIL POP3
12. Juni 2012 08:38
Antwort

Franklin Moses

Rang: New Member

Nachrichten: 6

Eintrittsdatum: 9. Dezember 2011

Neue Beiträge

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
27. Juni 2012 09:16
Antwort

Franklin Moses

Rang: New Member

Nachrichten: 6

Eintrittsdatum: 9. Dezember 2011

Neue Beiträge

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?