ejabberd - Comments for "[solved] Send HTML message via shell" https://www.ejabberd.im/forum/25229/solved-send-html-message-shell en It's the strange quoting https://www.ejabberd.im/forum/25229/solved-send-html-message-shell#comment-66294 <p>It's the strange quoting again. It works in 15.09 if you only use double quotes (not single ones, they somehow get stripped) and "escape" spaces with <code>&#039; &#039;</code>:</p> <pre><div class="codeblock"><code>$ ejabberdctl send_stanza_c2s alice example.org &quot;Psi+&quot; &quot;&lt;message&#039; &#039;type=\&quot;groupchat\&quot;&#039; &#039;to=\&quot;test@conference.example.org\&quot;&#039; &#039;from=\&quot;alice@example.org\&quot;&gt;&lt;body&gt;Hello World&lt;/body&gt;&lt;html&#039; &#039;xmlns=\&quot;http://jabber.org/protocol/xhtml-im\&quot;&gt;&lt;body&#039; &#039;xmlns=\&quot;http://www.w3.org/1999/xhtml\&quot;&gt;&lt;p&gt;&lt;strong&gt;Hello&lt;/strong&gt;&#039; &#039;World&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&lt;/message&gt;&quot;</code></div></pre> Thu, 05 Nov 2015 12:39:38 +0000 cweiske comment 66294 at https://www.ejabberd.im