Foren

EMAIL POP3

Geert REMAUT, geändert vor 13 Jahren.

EMAIL POP3

New Member Beiträge: 16 Beitrittsdatum: 04.04.11 Neueste 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
thumbnail
Ryan Park, geändert vor 13 Jahren.

RE: EMAIL POP3

Regular Member Beiträge: 120 Beitrittsdatum: 28.08.07 Neueste 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
thumbnail
Hitoshi Ozawa, geändert vor 13 Jahren.

RE: EMAIL POP3

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste 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, geändert vor 13 Jahren.

RE: EMAIL POP3

New Member Beiträge: 16 Beitrittsdatum: 04.04.11 Neueste Beiträge
So doesn't work with exchange ?
Pitty.
thumbnail
Bryan Cheung, geändert vor 13 Jahren.

RE: EMAIL POP3

Expert Beiträge: 373 Beitrittsdatum: 27.08.04 Neueste Beiträge
Geert,

What exactly would you like to be able to do?
Geert REMAUT, geändert vor 13 Jahren.

RE: EMAIL POP3

New Member Beiträge: 16 Beitrittsdatum: 04.04.11 Neueste Beiträge
WE HAVE 5 USERS
EACH DIFFERENT EMAILADRES
I USE EXCHANGE AND POP3
HOW DO I GET EMAIL IN LIFERAY ?
thumbnail
Ryan Park, geändert vor 13 Jahren.

RE: EMAIL POP3

Regular Member Beiträge: 120 Beitrittsdatum: 28.08.07 Neueste Beiträge
Hi Geert,

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

Best, Ryan
Geert REMAUT, geändert vor 13 Jahren.

RE: EMAIL POP3

New Member Beiträge: 16 Beitrittsdatum: 04.04.11 Neueste Beiträge
Do you have another solution ?
Adapting javamail works only for 1 emailadres.
Franklin Moses, geändert vor 11 Jahren.

RE: EMAIL POP3

New Member Beiträge: 6 Beitrittsdatum: 09.12.11 Neueste 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, geändert vor 11 Jahren.

RE: EMAIL POP3

New Member Beiträge: 6 Beitrittsdatum: 09.12.11 Neueste 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?