<?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[Cannot send mail from LAMP app]]></title><description><![CDATA[<p dir="auto">I'm trying to configure a php application installed into a LAMP app in cloudron, to send emails.</p>
<p dir="auto">I'm following instructions <a href="https://docs.cloudron.io/apps/lamp/#email" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> and have typed the "cloudronmail" function as stated there. But it does not send any email. I have added traces to see the commands executed and the responses, and there are (i've edited out the personal information):</p>
<pre><code>helo &lt;some identifier&gt;
&gt; 220 my.example.com ESMTP Haraka/2.8.28 ready
mail from: myapp.app@example.com
&gt; 250 my.example.com Hello &lt;some identifier&gt;.cloudron [172.18.16.4]Haraka is at your service.
rcpt to: some.email@hotmail.com
&gt; 250 sender &lt;myapp.app@example.com&gt; OK
data
&gt; 550 I cannot deliver mail for &lt;some.email@hotmail.com&gt;
To: some.email@hotmail.com
(...)
&gt; 503 RCPT required first
quit
&gt; 500 Unrecognized command
</code></pre>
<p dir="auto">The address "<a href="mailto:some.email@hotmail.com" target="_blank" rel="noopener noreferrer nofollow ugc">some.email@hotmail.com</a>" is a valid address of one of the cloudron users (although i think this should not be necessary).</p>
<p dir="auto">Do you have any clue? Don't understand why it "cannot deliver mail" for this address. Thanks.</p>
]]></description><link>https://forum.cloudron.io/topic/6057/cannot-send-mail-from-lamp-app</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 13:02:07 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/6057.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Nov 2021 08:39:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot send mail from LAMP app on Tue, 10 Jan 2023 14:55:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/59757">Cannot send mail from LAMP app</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hollosch" aria-label="Profile: hollosch">@<bdi>hollosch</bdi></a> you have to configure it in the code. <a href="https://docs.cloudron.io/apps/lamp/#email" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/lamp/#email</a> has an example. I assume you are using a custom app that you developed?</p>
</blockquote>
<p dir="auto">I'm using <a href="https://www.php-guestbook.de/?langu=en" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.php-guestbook.de/?langu=en</a></p>
]]></description><link>https://forum.cloudron.io/post/59780</link><guid isPermaLink="true">https://forum.cloudron.io/post/59780</guid><dc:creator><![CDATA[hollosch]]></dc:creator><pubDate>Tue, 10 Jan 2023 14:55:33 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot send mail from LAMP app on Tue, 10 Jan 2023 14:50:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/59757">Cannot send mail from LAMP app</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hollosch" aria-label="Profile: hollosch">@<bdi>hollosch</bdi></a> you have to configure it in the code. <a href="https://docs.cloudron.io/apps/lamp/#email" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/lamp/#email</a> has an example. I assume you are using a custom app that you developed?</p>
</blockquote>
<p dir="auto">ah, that means I have to adjust the configuration in the PHP script I'm using, doesn't it?</p>
]]></description><link>https://forum.cloudron.io/post/59778</link><guid isPermaLink="true">https://forum.cloudron.io/post/59778</guid><dc:creator><![CDATA[hollosch]]></dc:creator><pubDate>Tue, 10 Jan 2023 14:50:22 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot send mail from LAMP app on Tue, 10 Jan 2023 11:55:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hollosch" aria-label="Profile: hollosch">@<bdi>hollosch</bdi></a> you have to configure it in the code. <a href="https://docs.cloudron.io/apps/lamp/#email" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/lamp/#email</a> has an example. I assume you are using a custom app that you developed?</p>
]]></description><link>https://forum.cloudron.io/post/59757</link><guid isPermaLink="true">https://forum.cloudron.io/post/59757</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 10 Jan 2023 11:55:27 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot send mail from LAMP app on Mon, 09 Jan 2023 17:04:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Hi, how/where to configure the phpmailer after install?</p>
]]></description><link>https://forum.cloudron.io/post/59700</link><guid isPermaLink="true">https://forum.cloudron.io/post/59700</guid><dc:creator><![CDATA[hollosch]]></dc:creator><pubDate>Mon, 09 Jan 2023 17:04:09 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot send mail from LAMP app on Tue, 11 Jan 2022 19:48:50 GMT]]></title><description><![CDATA[<p dir="auto">I have updated the docs to use PHPMailer - <a href="https://docs.cloudron.io/apps/lamp/#email" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/lamp/#email</a> . PHPMailer supports SMTP authentication.</p>
]]></description><link>https://forum.cloudron.io/post/41622</link><guid isPermaLink="true">https://forum.cloudron.io/post/41622</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 11 Jan 2022 19:48:50 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot send mail from LAMP app on Sun, 12 Dec 2021 21:34:16 GMT]]></title><description><![CDATA[<p dir="auto">Ok, finally I managed to solve my immediate problem in a different way. But it still be useful to be able to send emails from the PHP app. I cannot try this now, but I'll try again next time we need to do it.</p>
]]></description><link>https://forum.cloudron.io/post/40405</link><guid isPermaLink="true">https://forum.cloudron.io/post/40405</guid><dc:creator><![CDATA[andres.moya]]></dc:creator><pubDate>Sun, 12 Dec 2021 21:34:16 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot send mail from LAMP app on Thu, 25 Nov 2021 05:47:55 GMT]]></title><description><![CDATA[<p dir="auto">@andres-moya the example in the docs seems wrong because it doesn't send use SMTP auth at all. Let me try to fix up the example tomorrow. The <code>CLOUDRON_MAIL_SMTP_USERNAME</code> and <code>CLOUDRON_MAIL_SMTP_PASSWORD</code> env variables must be used.</p>
]]></description><link>https://forum.cloudron.io/post/39764</link><guid isPermaLink="true">https://forum.cloudron.io/post/39764</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 25 Nov 2021 05:47:55 GMT</pubDate></item></channel></rss>