掲示板

How to Configure Mail Portlet

13年前 に Muhammad Zakir によって更新されました。

How to Configure Mail Portlet

New Member 投稿: 4 参加年月日: 09/11/17 最新の投稿

Hi,
I use:
[indent]
  • Liferay 5.2.3 - Bundled with Tomcat6
  • Ubuntu 9.10
[/indent]Question: I want to use MAIL PORTLET in my website.
Could anybody please let me know:
[indent]
  • How to configure the MAIL PORTLET?
  • What all files to be modified?
  • What all deployments to be done?
[/indent]
NOTE: If anybody can give the Step-by-Step answer for the above question, it would be appreciable.

Early reply would be very much helpful.
thumbnail
13年前 に Corné Aussems によって更新されました。

RE: How to Configure Mail Portlet

Liferay Legend 投稿: 1313 参加年月日: 06/10/03 最新の投稿
Muhammad Zakir:

  • How to configure the MAIL PORTLET?



http://www.liferay.com/community/wiki/-/wiki/Main/Mail+Portlet

Muhammad Zakir:

  • What all files to be modified?



None

Muhammad Zakir:

  • What all deployments to be done?



Install WAR manually or by PLUGIN down load
13年前 に Muhammad Zakir によって更新されました。

RE: How to Configure Mail Portlet

New Member 投稿: 4 参加年月日: 09/11/17 最新の投稿
Hi Corné Aussems,
Thanks for the reply.

The below link directs to the Wiki page.
http://www.liferay.com/community/wiki/-/wiki/Main/Mail+Portlet.

In that page:
Text goes as follows: Mail Portlet is a plugin and can be installed from the Plugin Installer.

When clicked on Plugin Installer, the link directs to a page:
Where the text goes as follows:
This page does not exist yet. Use the form below to create it.


Could you please check it out...
thumbnail
13年前 に Corné Aussems によって更新されました。

RE: How to Configure Mail Portlet

Liferay Legend 投稿: 1313 参加年月日: 06/10/03 最新の投稿
13年前 に Song Ching Khoo によって更新されました。

RE: How to Configure Mail Portlet

New Member 投稿: 2 参加年月日: 10/09/06 最新の投稿
HI, i am new to liferay.

I installed liferay 6 in my pc and now configuring the mail portlet.

I am able to configure the mail portlet for gmail and it is able to read, send, reply, and forward email.

But i am not able to create custom email for yahoo mail, hotmail, or my company mail.

I saw a page that we can find and configure it in ROOT.xml (TOMCAT_HOME/conf/Catalina/localhost/ROOR.XML)with the following:
<<Resource
name:"mail/MailSession"
auth=....
mail.tansport.protocol="smtp"
/>


but in my tomcat, the ROOT.xml is only:

<Context path="" crossContext="true">

<!-- JAAS -->

<!--<Realm
className="org.apache.catalina.realm.JAASRealm"
appName="PortalRealm"
userClassNames="com.liferay.portal.kernel.security.jaas.PortalPrincipal"
roleClassNames="com.liferay.portal.kernel.security.jaas.PortalRole"
/>-->

<!--
Uncomment the following to disable persistent sessions across reboots.
-->

<!--<Manager pathname="" />-->

<!--
Uncomment the following to not use sessions. See the property
"session.disabled" in portal.properties.
-->

<!--<Manager className="com.liferay.support.tomcat.session.SessionLessManagerBase" />-->
</Context>



Is it the mail portlet is only supported for incoming IMAP server?
Anybody configure it for hotmail or yahoo??
thumbnail
13年前 に Corné Aussems によって更新されました。

RE: How to Configure Mail Portlet

Liferay Legend 投稿: 1313 参加年月日: 06/10/03 最新の投稿
These are the default settings from the portal.properties

you may override them by introducing a portal-ext.properties on your classpath ie /ROOT/classes/portal-ext.properties

##
## Mail
##

    #
    # Set the JNDI name to lookup the Java Mail session. If none is set, then
    # the portal will attempt to create the Java Mail session based on the
    # properties prefixed with "mail.session.".
    #
    #mail.session.jndi.name=mail/MailSession

    #
    # Set the properties used to create the Java Mail session. The property
    # prefix "mail.session." will be removed before it is used to create the
    # session object. These properties will only be read if the property
    # "mail.session.jndi.name" is not set.
    #
    mail.session.mail.imap.host=localhost
    mail.session.mail.pop3.host=localhost
    #mail.session.mail.smtp.auth=true
    mail.session.mail.smtp.host=localhost
    #mail.session.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
    #mail.session.mail.smtp.socketFactory.fallback=false
    #mail.session.mail.smtp.socketFactory.port=465
    #mail.session.mail.smtp.starttls.enable=true
    #mail.session.mail.smtp.password=
    #mail.session.mail.smtp.port=465
    #mail.session.mail.smtp.user=
    mail.session.mail.store.protocol=localhost
    mail.session.mail.transport.protocol=smtp


BTW portal-ext.properties can be domain specific;
furthermore since LR 6 some of these settings can be set through a webinterface in the "Control Panel" >> Server Administration >> Mail
thumbnail
13年前 に Corné Aussems によって更新されました。

RE: How to Configure Mail Portlet

Liferay Legend 投稿: 1313 参加年月日: 06/10/03 最新の投稿
i have not a lot of time right now but these portlets settings make things clear;


portlet-ext.properties

include-and-override=portlet-ext.properties

disk.root.dir=${resource.repositories.root}/mail

javamail.debug=false

messages.to.prefetch=25
messages.per.page=25

synchronize.interval.minutes=3

preconfigured.mail.accounts = \
{"accounts" : [ \
{"title":"Add a Mail Account","username":"","password":"","emailAddress":"","emailAddressSameAsUsername":false,"mailInHostName":"","mailInPort":"","mailInSecure":false,"mailOutHostName":"","mailOutPort":"","mailOutSecure":false,"description":"","preconfigured":false}, \
{"title":"Add a Gmail Account","username":"@gmail.com","password":"","emailAddress":"@gmail.com","emailAddressSameAsUsername":true,"mailInHostName":"imap.gmail.com","mailInPort":"993","mailInSecure":true,"mailOutHostName":"smtp.gmail.com","mailOutPort":"465","mailOutSecure":true,"description":"IMAP must be enabled in your Gmail account settings for this to work.","preconfigured":true} \
] \
}
13年前 に SC Khoo によって更新されました。

RE: How to Configure Mail Portlet

New Member 投稿: 2 参加年月日: 10/09/06 最新の投稿
Hi,
In Vaadin mail portlet,
I wish to add a custom email account for hotmail by the following setting:
Email address: myusername@hotmail.com
Login: myusername@hotmail.com
password: ******
Incoming Imap server: pop3.live.com
Incoming port: 995
Checked Use Secure Incoming Connection
Outgoing SMTP Server:
Outgoing Port:25
Checked Use Secure Outgoing Connection

But it CAN'T add the hotmail account.

I do it for the another mail portlet which bundled in liferay 6 with the same setting as above, it failed to add the custom account too...

but the above setting is work if configured it in MS outlook 2007.

Is it anybody added hotmail account in Vaadin portlet before?? Can teach me how to do it?
Thanks....
13年前 に Jack Tan によって更新されました。

RE: How to Configure Mail Portlet

New Member 投稿: 4 参加年月日: 10/09/14 最新の投稿
hi,
I have the same problem too..

In liferay 6 mail portlet, it is supported for multiple mail accounts,
for gmail it is configured defaultly thru IMAP.
but for other mails like yahoo, hotmail...how to configure it?

i cant able to configure the mail portlet for yahoo, hotmail, etc...
13年前 に Mo Farouq によって更新されました。

RE: How to Configure Mail Portlet

New Member 投稿: 6 参加年月日: 11/03/19 最新の投稿
Sorry for bumping an old thread but I'm having the same problem as well, cannot configure the Mail portlet for any other accounts other than Gmail even though I'm sure I have the incomming & outgoing settings correctly.

Can any Liferay guru take the time to point out where we noobs are failing? Thanks,
13年前 に Mo Farouq によって更新されました。

RE: How to Configure Mail Portlet

New Member 投稿: 6 参加年月日: 11/03/19 最新の投稿
Mo Farouq:
Sorry for bumping an old thread but I'm having the same problem as well, cannot configure the Mail portlet for any other accounts other than Gmail even though I'm sure I have the incomming & outgoing settings correctly.

Can any Liferay guru take the time to point out where we noobs are failing? Thanks,


I have resolved this issue by modifying the ROOT.xml file under:
[TOMCAT-HOME]\conf\Catalina\localhost\ROOT.xml


<!-- Mail -->
<Resource
name="mail/MailSession"
auth="Container"
type="javax.mail.Session"
mail.imap.host="imap.gmail.com"
mail.imap.port="993"
mail.pop.host="pop.gmail.com"
mail.pop.port="995"
mail.store.protocol="imap"
mail.transport.protocol="smtp"
mail.smtp.host="smtp.gmail.com"
mail.smtp.port="465"
mail.smtp.auth="true"
mail.smtp.starttls.enable="true"
mail.smtp.user="admin@some-domain.com"
password="admin1234"
mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
/>

The Mail portlet should work fine.
thumbnail
12年前 に Mani kandan によって更新されました。

RE: How to Configure Mail Portlet

Expert 投稿: 492 参加年月日: 10/09/15 最新の投稿
Mo Farouq:
Mo Farouq:
Sorry for bumping an old thread but I'm having the same problem as well, cannot configure the Mail portlet for any other accounts other than Gmail even though I'm sure I have the incomming & outgoing settings correctly.

Can any Liferay guru take the time to point out where we noobs are failing? Thanks,


I have resolved this issue by modifying the ROOT.xml file under:
[TOMCAT-HOME]\conf\Catalina\localhost\ROOT.xml


<!-- Mail -->
<Resource
name="mail/MailSession"
auth="Container"
type="javax.mail.Session"
mail.imap.host="imap.gmail.com"
mail.imap.port="993"
mail.pop.host="pop.gmail.com"
mail.pop.port="995"
mail.store.protocol="imap"
mail.transport.protocol="smtp"
mail.smtp.host="smtp.gmail.com"
mail.smtp.port="465"
mail.smtp.auth="true"
mail.smtp.starttls.enable="true"
mail.smtp.user="admin@some-domain.com"
password="admin1234"
mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
/>

The Mail portlet should work fine.


You gave for gmail setting, can you post for yahoo, hotmail etc.,
thumbnail
12年前 に Thiago Leão Moreira によって更新されました。

RE: How to Configure Mail Portlet

Liferay Legend 投稿: 1449 参加年月日: 07/10/10 最新の投稿
Hey Mani,

Those information are available on Yahoo and Hotmail websites. You should grab them from they support pages.
thumbnail
12年前 に Mani kandan によって更新されました。

RE: How to Configure Mail Portlet

Expert 投稿: 492 参加年月日: 10/09/15 最新の投稿
Thiago Leão Moreira:
Hey Mani,

Those information are available on Yahoo and Hotmail websites. You should grab them from they support pages.


How can I grab those pages i don't know how. Could you pls tel me how to do it?
thumbnail
12年前 に Mani kandan によって更新されました。

RE: How to Configure Mail Portlet

Expert 投稿: 492 参加年月日: 10/09/15 最新の投稿
Any help?emoticon
thumbnail
12年前 に MANOVINAYAK AYYAPPAN によって更新されました。

RE: How to Configure Mail Portlet

Regular Member 投稿: 131 参加年月日: 11/06/13 最新の投稿
Hi All,

I have configured gmail account in the Mail Portlet.

The portlet is kind of fine with sending mail feature.

The Challenge:
I would like to know, how I can send email to multiple email IDs.

When I try to separate email IDs by ; or , it shows up the error message "Please make sure the following address is properly formatted."

My Query:
I would like to know how we can send emails to multiple email IDs.

Regards,
Mano
9年前 に shrikanth k shrikanth によって更新されました。

RE: How to Configure Mail Portlet

Regular Member 投稿: 118 参加年月日: 13/12/11 最新の投稿
Hello frds,
Iam using Liferay 6.2 ,
Sorry for posting in old thread but I'm also facing the same problem, cannot configure the Mail portlet for any other accounts other than Gmail.But i am not able to create custom email for yahoo mail, hotmail.I want to create Yahoo Mail in Custom Mail Account. Can u please send the steps how to do it.
Iam using below configuration for yahoo Mail.

Incoming Settings
Server - pop.mail.yahoo.com
Port - 995
Outgoing Settings

Server - smtp.mail.yahoo.com
Port - 465
Even i attached the screen shot.

Regards
Shrikanth

添付ファイル:

9年前 に Haythem Benizid によって更新されました。

RE: How to Configure Mail Portlet

New Member 投稿: 7 参加年月日: 14/08/03 最新の投稿
hello,
I'am using also Liferay 6.2, and I'm also facing the same problem, cannot configure the Mail portlet for any other accounts
it is possible that we must add a special configuration on liferay !!!???
plz help !!!