Tribune

Home » Liferay Social Office

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Geert Remaut
EMAIL POP3
4 aprile 2011 7.51
Risposta

Geert Remaut

Punteggio: New Member

Messaggi: 16

Data di Iscrizione: 4 aprile 2011

Messaggi recenti

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 aprile 2011 12.15
Risposta

Ryan Park

LIFERAY STAFF

Punteggio: Regular Member

Messaggi: 111

Data di Iscrizione: 27 agosto 2007

Messaggi recenti

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 aprile 2011 15.31
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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 aprile 2011 7.54
Risposta

Geert Remaut

Punteggio: New Member

Messaggi: 16

Data di Iscrizione: 4 aprile 2011

Messaggi recenti

So doesn't work with exchange ?
Pitty.
Bryan Cheung
RE: EMAIL POP3
5 aprile 2011 11.55
Risposta

Bryan Cheung

LIFERAY STAFF

Punteggio: Expert

Messaggi: 363

Data di Iscrizione: 26 agosto 2004

Messaggi recenti

Geert,

What exactly would you like to be able to do?
Geert Remaut
RE: EMAIL POP3
6 aprile 2011 8.54
Risposta

Geert Remaut

Punteggio: New Member

Messaggi: 16

Data di Iscrizione: 4 aprile 2011

Messaggi recenti

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 aprile 2011 11.12
Risposta

Ryan Park

LIFERAY STAFF

Punteggio: Regular Member

Messaggi: 111

Data di Iscrizione: 27 agosto 2007

Messaggi recenti

Hi Geert,

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

Best, Ryan
Geert Remaut
RE: EMAIL POP3
7 aprile 2011 1.24
Risposta

Geert Remaut

Punteggio: New Member

Messaggi: 16

Data di Iscrizione: 4 aprile 2011

Messaggi recenti

Do you have another solution ?
Adapting javamail works only for 1 emailadres.
Franklin Moses
RE: EMAIL POP3
12 giugno 2012 8.38
Risposta

Franklin Moses

Punteggio: New Member

Messaggi: 6

Data di Iscrizione: 9 dicembre 2011

Messaggi recenti

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 giugno 2012 9.16
Risposta

Franklin Moses

Punteggio: New Member

Messaggi: 6

Data di Iscrizione: 9 dicembre 2011

Messaggi recenti

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?