<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Need Help - How to configure IMAIL (Gmail with Liferay)</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=4760515" />
  <subtitle>Need Help - How to configure IMAIL (Gmail with Liferay)</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=4760515</id>
  <updated>2026-04-05T18:40:25Z</updated>
  <dc:date>2026-04-05T18:40:25Z</dc:date>
  <entry>
    <title>RE: Need Help - How to configure IMAIL (Gmail with Liferay)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4763894" />
    <author>
      <name>Himanshu Bhargav</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4763894</id>
    <updated>2010-03-26T06:19:49Z</updated>
    <published>2010-03-26T06:19:49Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Himanshu Bhargav:&lt;/div&gt;&lt;blockquote&gt;Hi Sandeep,&lt;br /&gt;&lt;br /&gt;Still have the same problem.&lt;br /&gt;&lt;br /&gt;You  have failed to connect to IMAP and SMTP Server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Himanshu Bhargav&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Hi sandeep,&lt;br /&gt;&lt;br /&gt;I am using IMAP so i have changes the settings. Please let me know is there any need to do the changes??&lt;br /&gt;&lt;br /&gt;mail.session.mail.imap.host=imap.gmail.com&lt;br /&gt;mail.session.mail.imap.port=993&lt;br /&gt;mail.session.mail.smtp.auth=true&lt;br /&gt;mail.session.mail.smtp.host=smtp.gmail.com &lt;br /&gt;mail.session.mail.smtp.port=2525&lt;br /&gt;mail.session.mail.smtp.user=mymail@gmail.com&lt;br /&gt;mail.session.mail.smtp.password=mypassword&lt;br /&gt;mail.session.mail.store.protocol=imap&lt;br /&gt;mail.session.mail.transport.protocol=smtp</summary>
    <dc:creator>Himanshu Bhargav</dc:creator>
    <dc:date>2010-03-26T06:19:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Need Help - How to configure IMAIL (Gmail with Liferay)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4763683" />
    <author>
      <name>Himanshu Bhargav</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4763683</id>
    <updated>2010-03-26T05:30:44Z</updated>
    <published>2010-03-26T05:30:44Z</published>
    <summary type="html">Hi Sandeep,&lt;br /&gt;&lt;br /&gt;Still have the same problem.&lt;br /&gt;&lt;br /&gt;You  have failed to connect to IMAP and SMTP Server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Himanshu Bhargav</summary>
    <dc:creator>Himanshu Bhargav</dc:creator>
    <dc:date>2010-03-26T05:30:44Z</dc:date>
  </entry>
  <entry>
    <title>RE: Need Help - How to configure IMAIL (Gmail with Liferay)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4760595" />
    <author>
      <name>Sandeep Nair</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4760595</id>
    <updated>2010-03-25T12:38:26Z</updated>
    <published>2010-03-25T12:38:26Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi,&lt;br&gt;&lt;br&gt;Please try setting following properties in portal-ext.properties&lt;br&gt;&lt;br&gt;    &lt;pre&gt;&lt;code&gt;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&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Sandeep&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Sandeep Nair</dc:creator>
    <dc:date>2010-03-25T12:38:26Z</dc:date>
  </entry>
  <entry>
    <title>Need Help - How to configure IMAIL (Gmail with Liferay)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4760514" />
    <author>
      <name>Himanshu Bhargav</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4760514</id>
    <updated>2010-03-25T12:23:57Z</updated>
    <published>2010-03-25T12:23:57Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;I have configues the below settings into Root.xml file.&lt;br /&gt;&lt;br /&gt;&amp;lt;Resource&lt;br /&gt;name=&amp;#34;mail/MailSession&amp;#34;&lt;br /&gt;auth=&amp;#34;Container&amp;#34;&lt;br /&gt;type=&amp;#34;javax.mail.Session&amp;#34;&lt;br /&gt;mail.imap.host=&amp;#34;imap.gmail.com&amp;#34;&lt;br /&gt;mail.imap.port=&amp;#34;993&amp;#34;&lt;br /&gt;mail.store.protocol=&amp;#34;imap&amp;#34;&lt;br /&gt;mail.transport.protocol=&amp;#34;smtp&amp;#34;&lt;br /&gt;mail.smtp.host=&amp;#34;smtp.gmail.com &amp;#34;&lt;br /&gt;mail.smtp.port=&amp;#34;465&amp;#34;&lt;br /&gt;mail.smtp.auth=&amp;#34;true&amp;#34;&lt;br /&gt;mail.smtp.user=&amp;#34;MyAcc@gmail.com&amp;#34;&lt;br /&gt;password=&amp;#34;MyPassword&amp;#34;&lt;br /&gt;/&amp;gt; &lt;br /&gt;&lt;br /&gt;but when running the liferay getting the error &amp;#34;You  have failed to connect to IMAP and SMTP Server&amp;#34;&lt;br /&gt;&lt;br /&gt;Please let me know what else i missed and what are the steps to configure Gmail/SMTP Mail server with Liferay portal.&lt;br /&gt;&lt;br /&gt;Thanks &lt;br /&gt;Himanshu Bhargav</summary>
    <dc:creator>Himanshu Bhargav</dc:creator>
    <dc:date>2010-03-25T12:23:57Z</dc:date>
  </entry>
</feed>
