<?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>Configure SMTP for Amazon SES</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=18449408" />
  <subtitle>Configure SMTP for Amazon SES</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=18449408</id>
  <updated>2026-04-08T00:06:39Z</updated>
  <dc:date>2026-04-08T00:06:39Z</dc:date>
  <entry>
    <title>RE: Configure SMTP for Amazon SES</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=24456309" />
    <author>
      <name>Daniel Guidry</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=24456309</id>
    <updated>2013-05-07T20:55:07Z</updated>
    <published>2013-05-07T20:55:07Z</published>
    <summary type="html">OK, I just found it. I had to go into &lt;strong&gt;Control Panel &amp;gt; Portal Settings &amp;gt; Email Notifications&lt;/strong&gt; and set the sending address there to my SES verified sender. After doing that I was able to process outgoing email through SES.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Daniel</summary>
    <dc:creator>Daniel Guidry</dc:creator>
    <dc:date>2013-05-07T20:55:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: Configure SMTP for Amazon SES</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=24454724" />
    <author>
      <name>Daniel Guidry</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=24454724</id>
    <updated>2013-05-07T20:15:07Z</updated>
    <published>2013-05-07T20:15:07Z</published>
    <summary type="html">How do you configure the sender address when using Amazon SES? I&amp;#39;m completely unable to send any email through Liferay using SES because it keeps rejecting the email with error &lt;strong&gt;554 Message rejected: Email address is not verified&lt;/strong&gt;. I know for certain that the recipient email is verified (I&amp;#39;m still in the sandbox), but there is no way for me to configure the sending email. When creating SMTP credentials in AWS there is no way to specify the associated email address there either.&lt;br /&gt;&lt;br /&gt;How did you get it to work?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Daniel</summary>
    <dc:creator>Daniel Guidry</dc:creator>
    <dc:date>2013-05-07T20:15:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: Configure SMTP for Amazon SES</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=18723032" />
    <author>
      <name>Ranjit Victor</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=18723032</id>
    <updated>2012-12-19T06:10:58Z</updated>
    <published>2012-12-19T06:10:58Z</published>
    <summary type="html">This is what I tried and it worked.&lt;br /&gt;&lt;br /&gt;mail.session.mail.transport.protocol=smtp&lt;br /&gt;mail.session.mail.smtp.ssl.enable=true&lt;br /&gt;mail.session.mail.smtp.starttls.enable=true&lt;br /&gt;mail.session.mail.smtp.auth=true&lt;br /&gt;mail.session.mail.smtp.host=email-smtp.us-east-1.amazonaws.com&lt;br /&gt;mail.session.mail.smtp.port=25&lt;br /&gt;mail.session.mail.smtp.user=&amp;lt;Smtp Username&amp;gt;&lt;br /&gt;mail.session.mail.smtp.password=&amp;lt;Smtp Password&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Note&lt;/u&gt;: The SMTP username and password are the ones that get generated when creating SMTP Credentials from the AWS Console. This is different from the IAM credentials&lt;br /&gt;&lt;br /&gt;Also make sure there are no firewall settings blocking access to the remote port 25</summary>
    <dc:creator>Ranjit Victor</dc:creator>
    <dc:date>2012-12-19T06:10:58Z</dc:date>
  </entry>
  <entry>
    <title>Configure SMTP for Amazon SES</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=18449407" />
    <author>
      <name>Jonatan Oyola</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=18449407</id>
    <updated>2012-12-07T13:33:22Z</updated>
    <published>2012-12-07T13:33:22Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;I've configure Liferay to send mails via SMTP using Amazon SES.&lt;br&gt;&lt;br&gt;&lt;strong&gt;portal-ext.properties&lt;/strong&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;
mail.session.mail.smtp.auth=true
mail.session.mail.smtp.host=email-smtp.us-east-1.amazonaws.com
mail.session.mail.smtp.port=465
mail.session.mail.smtp.user=******************
mail.session.mail.smtp.password=******************
mail.session.mail.transport.protocol=smtps
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Liferay adds the following properties automatically when the protocol is smtps&lt;br&gt;&lt;pre&gt;&lt;code&gt;
mail.smtps.socketFactory.port=465
mail.smtps.socketFactory.class=javax.net.ssl.SSLSocketFactory
mail.smtps.socketFactory.fallback=false
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Also I've added the advance properties&lt;br&gt;&lt;pre&gt;&lt;code&gt;
mail.smtps.ssl.enable=true
mail.smtps.starttls.enable=true
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;The mails never reach their destination, and in the logs I find the following message&lt;br&gt;&lt;blockquote&gt;&lt;br&gt;Failed to connect to a valid mail server. Please make sure one is properly configured. Could not connect to SMTP host: email-smtp.us-east-1.amazonaws.com, port: 465&lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;br&gt;&lt;span style="font-size: 14px;"&gt;Can anyone help?&lt;/span&gt;&lt;br&gt;&lt;br&gt;Thanks on advances&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Jonatan Oyola</dc:creator>
    <dc:date>2012-12-07T13:33:22Z</dc:date>
  </entry>
</feed>
