Foros de discusión

how to provide Organization Specific mail configurations in liferay 5.1.2

Kiran Kumar Boyini, modificado hace 12 años.

how to provide Organization Specific mail configurations in liferay 5.1.2

Expert Mensajes: 287 Fecha de incorporación: 2/06/11 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.
thumbnail
jelmer kuperus, modificado hace 12 años.

RE: how to provide Organization Specific mail configurations in liferay 5.1

Liferay Legend Mensajes: 1191 Fecha de incorporación: 10/03/10 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, modificado hace 12 años.

RE: how to provide Organization Specific mail configurations in liferay 5.1

Expert Mensajes: 287 Fecha de incorporación: 2/06/11 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, modificado hace 12 años.

RE: how to provide Organization Specific mail configurations in liferay 5.1

Expert Mensajes: 287 Fecha de incorporación: 2/06/11 Mensajes recientes
Hi Friends,

Please reply to my requirement as I specified above.

Thanks & Regards

Kiran Kumar Boyini.
Roshan Qureshi, modificado hace 12 años.

RE: how to provide Organization Specific mail configurations in liferay 5.1

Regular Member Mensajes: 159 Fecha de incorporación: 24/08/10 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, modificado hace 12 años.

RE: how to provide Organization Specific mail configurations in liferay 5.1

Expert Mensajes: 287 Fecha de incorporación: 2/06/11 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, modificado hace 11 años.

RE: how to provide Organization Specific mail configurations in liferay 5.1

Expert Mensajes: 287 Fecha de incorporación: 2/06/11 Mensajes recientes
Hi All,


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

Thanks and Regards

Kiran Kumar Boyini.