<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SMTP Failing]]></title><description><![CDATA[<p dir="auto">We have FusionAuth deployed to AWS (ECS), and everything is set up and working except for email. We're using <a href="https://resend.com" rel="nofollow ugc">https://resend.com</a> for SMTP (per <a href="https://fusionauth.io/docs/customize/email-and-messages/configure-email#resend" rel="nofollow ugc">recommendations</a>). We're running into an issue where we have all the SMTP settings in place for a tenant, we can verify these settings work when run in our development environment, but when we try and send a test email from the FusionAuth admin UI we get an error:</p>
<pre><code>Unable to send email via JavaMail

Prime Messaging Exception
501 Error: Syntax: HELO hostname
</code></pre>
<p dir="auto">As far as I can tell we should only get that error when the SMTP hostname hasn't been set correctly, but it has been set (we can see it in the UI, and I can find it in the database as well). We've also verified that we can send email through resend using this exact SMTP configuration using <code>swaks</code> (recommended <a href="https://fusionauth.io/docs/operate/troubleshooting/troubleshooting#send-a-test-email" rel="nofollow ugc">here</a>).</p>
<pre><code>swaks --from '&lt;FROM_EMAIL&gt;' --to '&lt;TO_EMAIL&gt;' --server smtp.resend.com --port 587 --auth plain --tls --auth-user 'resend' --auth-password '&lt;RESEND_API_KEY&gt;'
</code></pre>
<p dir="auto">^ this works perfectly.</p>
<p dir="auto">I have FusionAuth SMTP debugging enabled, and this is all we see when sending a test email:</p>
<pre><code>DEBUG: Jakarta Mail version 2.1.2
DEBUG: URL jar:file:/usr/local/fusionauth/fusionauth-app/lib/smtp-2.0.2.jar!/META-INF/javamail.providers
DEBUG: successfully loaded resource: jar:file:/usr/local/fusionauth/fusionauth-app/lib/smtp-2.0.2.jar!/META-INF/javamail.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {org.eclipse.angus.mail.smtp.SMTPTransport=jakarta.mail.Provider[TRANSPORT,smtp,org.eclipse.angus.mail.smtp.SMTPTransport,Oracle], org.eclipse.angus.mail.smtp.SMTPSSLTransport=jakarta.mail.Provider[TRANSPORT,smtps,org.eclipse.angus.mail.smtp.SMTPSSLTransport,Oracle]}
DEBUG: Providers Listed By Protocol: {smtp=jakarta.mail.Provider[TRANSPORT,smtp,org.eclipse.angus.mail.smtp.SMTPTransport,Oracle], smtps=jakarta.mail.Provider[TRANSPORT,smtps,org.eclipse.angus.mail.smtp.SMTPSSLTransport,Oracle]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: URL jar:file:/usr/local/fusionauth/fusionauth-app/lib/smtp-2.0.2.jar!/META-INF/javamail.address.map
DEBUG: successfully loaded resource: jar:file:/usr/local/fusionauth/fusionauth-app/lib/smtp-2.0.2.jar!/META-INF/javamail.address.map
DEBUG: setDebug: Jakarta Mail version 2.1.2
</code></pre>
]]></description><link>https://fusionauth.io/community/forum/topic/2791/smtp-failing</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 14:14:43 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2791.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 25 Oct 2024 19:38:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SMTP Failing on Fri, 10 Jan 2025 20:02:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2507">@mark-robustelli</a> Our initial thought was that this was a WAF issue on AWS, but that didn't pan out. The actual fix was to add an "additional property" to the SMTP settings for <code>mail.smtp.localhost</code> with the full host name:</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1736539127151-eabf16dd-e8f7-41b2-925d-6587063adb26-image-resized.png" alt="eabf16dd-e8f7-41b2-925d-6587063adb26-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Once we set this we were able to get things working with Resend. No idea if this applies to other SMTP integrations.</p>
]]></description><link>https://fusionauth.io/community/forum/post/7737</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7737</guid><dc:creator><![CDATA[tschlegel]]></dc:creator><pubDate>Fri, 10 Jan 2025 20:02:26 GMT</pubDate></item><item><title><![CDATA[Reply to SMTP Failing on Fri, 10 Jan 2025 21:23:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3209">@tschlegel</a> Thanks for sharing the update!</p>
]]></description><link>https://fusionauth.io/community/forum/post/7740</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7740</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Fri, 10 Jan 2025 21:23:37 GMT</pubDate></item><item><title><![CDATA[Reply to SMTP Failing on Fri, 10 Jan 2025 20:02:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2507">@mark-robustelli</a> Our initial thought was that this was a WAF issue on AWS, but that didn't pan out. The actual fix was to add an "additional property" to the SMTP settings for <code>mail.smtp.localhost</code> with the full host name:</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1736539127151-eabf16dd-e8f7-41b2-925d-6587063adb26-image-resized.png" alt="eabf16dd-e8f7-41b2-925d-6587063adb26-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Once we set this we were able to get things working with Resend. No idea if this applies to other SMTP integrations.</p>
]]></description><link>https://fusionauth.io/community/forum/post/7737</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7737</guid><dc:creator><![CDATA[tschlegel]]></dc:creator><pubDate>Fri, 10 Jan 2025 20:02:26 GMT</pubDate></item><item><title><![CDATA[Reply to SMTP Failing on Wed, 30 Oct 2024 21:18:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3209">@tschlegel</a> Could it be a firewall issue not allowing the production server to see the SMTP server?</p>
]]></description><link>https://fusionauth.io/community/forum/post/7597</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7597</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Wed, 30 Oct 2024 21:18:55 GMT</pubDate></item></channel></rss>