<?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>Could not connect to SMTP host: localhost, port: 465</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112089300" />
  <subtitle>Could not connect to SMTP host: localhost, port: 465</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112089300</id>
  <updated>2026-04-07T04:04:33Z</updated>
  <dc:date>2026-04-07T04:04:33Z</dc:date>
  <entry>
    <title>RE: Could not connect to SMTP host: localhost, port: 465</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112113829" />
    <author>
      <name>Nirav Prajapati</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112113829</id>
    <updated>2019-01-24T03:21:20Z</updated>
    <published>2019-01-24T03:21:20Z</published>
    <summary type="html">&lt;p&gt;Hi Kiran,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;For this kind of requirement, you have to write your own code for
  mail sending, where you have to give input box for Sender mail address
  and password and another input box for the receiver mail address.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;It's a very simple job.&lt;/p&gt;
&lt;p&gt;Only you need to write 20-25 lines. That's it.&lt;/p&gt;</summary>
    <dc:creator>Nirav Prajapati</dc:creator>
    <dc:date>2019-01-24T03:21:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: Could not connect to SMTP host: localhost, port: 465</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112105770" />
    <author>
      <name>Kiran Yalavali</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112105770</id>
    <updated>2019-01-23T14:24:33Z</updated>
    <published>2019-01-23T14:24:33Z</published>
    <summary type="html">&lt;p&gt;Thank you for reply Nirav,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Incoming pop server                                       
   : pop.gmail.com&lt;br /&gt; Incoming port:                                 
                   : 110&lt;/p&gt;
&lt;p&gt;Use a Secure Network Connection                  : select the check box&lt;/p&gt;
&lt;p&gt;Username                                                          : 123@gmail.com&lt;/p&gt;
&lt;p&gt;password                                                           :
  12345&lt;br /&gt; Outgoing SMTP Server                                   
   : smtp.gmail.com&lt;br /&gt; Outgoing Port                                 
                     : 465&lt;/p&gt;
&lt;p&gt;I'm follow above mail server configuration in server
  administrationmail mail send succesfully.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;but my requirement is I'm not given username and password mail server
  configuration in server administration i need send mail only custom
  portlet like fromAddress given 1234@gmail.com and toAddress given
  xyz@gmail.com I need recive mail from fromAddress ,is it possible ??&lt;/p&gt;</summary>
    <dc:creator>Kiran Yalavali</dc:creator>
    <dc:date>2019-01-23T14:24:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: Could not connect to SMTP host: localhost, port: 465</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112096793" />
    <author>
      <name>Nirav Prajapati</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112096793</id>
    <updated>2019-01-23T03:16:40Z</updated>
    <published>2019-01-23T03:16:40Z</published>
    <summary type="html">&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Please refer below URL for Gmail configuration.&lt;/p&gt;
&lt;p&gt;http://liferayiseasy.blogspot.com/2015/09/mail-configuration-in-liferay-using.html&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Please make sure your Gmail have activated Use of less secure apps.&lt;/p&gt;
&lt;p&gt;Check it here: https://myaccount.google.com/lesssecureapps&lt;/p&gt;</summary>
    <dc:creator>Nirav Prajapati</dc:creator>
    <dc:date>2019-01-23T03:16:40Z</dc:date>
  </entry>
  <entry>
    <title>Could not connect to SMTP host: localhost, port: 465</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112089299" />
    <author>
      <name>Kiran Yalavali</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112089299</id>
    <updated>2019-01-22T16:03:43Z</updated>
    <published>2019-01-22T16:03:43Z</published>
    <summary type="html">Hi,&lt;br /&gt;
&lt;br /&gt;
 I am using liferay 6.0 version&lt;br /&gt;
 I am getting this error in my log file .&lt;br /&gt;
&lt;strong&gt;[MailEngine:482] Failed to connect to a valid mail server. Could
  not connect to SMTP host: localhost, port: 465&lt;/strong&gt;
&lt;br /&gt;
&lt;br /&gt;
 bellow mail server configuration settings in Server Administration but
how to get mail from fromAddress manually entered  mail for custom portlet.&lt;br /&gt;
&lt;br /&gt;
 Incoming pop server         : localhost&lt;br /&gt;
 Incoming port:                   : 110&lt;br /&gt;
 Outgoing SMTP Server    : smtp.gmail.com&lt;br /&gt;
 Outgoing Port                    : 465&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Please help me to resolve this.</summary>
    <dc:creator>Kiran Yalavali</dc:creator>
    <dc:date>2019-01-22T16:03:43Z</dc:date>
  </entry>
</feed>
