Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Kiran Kumar Boyini
how to provide Organization Specific mail configurations in liferay 5.1.2
14 de abril de 2012 0:10
Respuesta

Kiran Kumar Boyini

Ranking: Expert

Mensajes: 286

Fecha de incorporación: 2 de junio de 2011

Mensajes recientes

Hi All,

I am new to life ray.I have one requirement I want to provide the Organization Specific mail configurations for each organization.

Right now we are using global one by providing the configuration in root.xml file as follows.

<Resource
name="mail/MailSession"
auth="Container"
type="javax.mail.Session"
mail.imap.host="localhost"
mail.pop3.host="localhost"
mail.smtp.host="localhost"
mail.store.protocol="imap"
mail.transport.protocol="smtp"
/>

Now My requirement is how I can provide the organization specific mail configuration using liferay 5.1.2

Give me some suggestions how to achieve this requirement.

Thanks & Regards

Kiran Kumar Boyini.
Jelmer Kuperus
RE: how to provide Organization Specific mail configurations in liferay 5.1
14 de abril de 2012 6:27
Respuesta

Jelmer Kuperus

Ranking: Liferay Legend

Mensajes: 1192

Fecha de incorporación: 10 de marzo de 2010

Mensajes recientes

You mean for liferay organizations ? There is no easy way to do this. From what i can tell the only option you have is finding piece of code in liferay that places a MailMessage on the message queue and setting changing that to set an smtpAccount on the message that belongs to your organization. Which would be a thoroughly insane thing to do.

You cannot fix it in a centralized spot because when the message arrives at the MailMessageListener it does not know for which organization the message is being sent
Kiran Kumar Boyini
RE: how to provide Organization Specific mail configurations in liferay 5.1
15 de abril de 2012 22:18
Respuesta

Kiran Kumar Boyini

Ranking: Expert

Mensajes: 286

Fecha de incorporación: 2 de junio de 2011

Mensajes recientes

Thank you,

My requirement is we have to provide the specific mail configuration for every organization like(colleges)

by using the existed functionality of liferay 5.1.2.

Tell me how can I achieve this requirement.


Thanks & Regards,

KiranKumar Boyini.
Kiran Kumar Boyini
RE: how to provide Organization Specific mail configurations in liferay 5.1
24 de abril de 2012 23:16
Respuesta

Kiran Kumar Boyini

Ranking: Expert

Mensajes: 286

Fecha de incorporación: 2 de junio de 2011

Mensajes recientes

Hi Friends,

Please reply to my requirement as I specified above.

Thanks & Regards

Kiran Kumar Boyini.
Roshan Qureshi
RE: how to provide Organization Specific mail configurations in liferay 5.1
25 de abril de 2012 0:42
Respuesta

Roshan Qureshi

Ranking: Regular Member

Mensajes: 144

Fecha de incorporación: 24 de agosto de 2010

Mensajes recientes

Hi Kiran,

Can you provide more details about your requirement.
What I understood is :
You have many colleges(organization) in your portal and for each you want to use different mail settings. Right?
Kiran Kumar Boyini
RE: how to provide Organization Specific mail configurations in liferay 5.1
27 de abril de 2012 0:20
Respuesta

Kiran Kumar Boyini

Ranking: Expert

Mensajes: 286

Fecha de incorporación: 2 de junio de 2011

Mensajes recientes

Thank you,

What you understand is correct.

My Requirement is i have to provide the specific mail configuration setting for every organization(colleges) using one portlet.

Right now we are using global one by providing the configuration in root.xml file as follows.

<Resource
name="mail/MailSession"
auth="Container"
type="javax.mail.Session"
mail.imap.host="localhost"
mail.pop3.host="localhost"
mail.smtp.host="localhost"
mail.store.protocol="imap"
mail.transport.protocol="smtp"
/>

But do not know how the liferay people doing the above task as well as I need suggestion how can I achieve this requirement in liferay 5.1.2.

Thanks & Regards

Kiran Kumar Boyini.
Kiran Kumar Boyini
RE: how to provide Organization Specific mail configurations in liferay 5.1
1 de mayo de 2012 22:25
Respuesta

Kiran Kumar Boyini

Ranking: Expert

Mensajes: 286

Fecha de incorporación: 2 de junio de 2011

Mensajes recientes

Hi All,


Please send the reply to my requirement as I mentioned in the above.

Thanks and Regards

Kiran Kumar Boyini.