<?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[Sending emails from a Windows server with Office365?]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Has anyone already been able to use <a href="http://smtp.office365.com" rel="nofollow ugc">smtp.office365.com</a> as their mail server from a Windows box?</p>
<p dir="auto">Ive been playing around at home with a Debian client and Debian server and via Postfix I can relay mail alerts to Gmail but now they want me to implement the whole shebang on a Windows only environment for an internship. But sending mails from a Windows machine seems to be a PITA.<br />
I can use a tool to test it that saves it's account settings in an XML file like <a href="https://sourceforge.net/projects/swithmail/files/latest/download" rel="nofollow ugc">SwithMail</a> and this works file from the command line as a local user but if I define this (for testing) in the server actions nothing happens.<br />
PowerShell could perhaps be another option but then again, the action needs to be executed so am I missing something?</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Wim</p>
]]></description><link>https://forum.netxms.org/topic/7064/sending-emails-from-a-windows-server-with-office365</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:03:55 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7064.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 May 2021 19:07:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sending emails from a Windows server with Office365? on Mon, 22 May 2023 15:02:47 GMT]]></title><description><![CDATA[<p dir="auto">SMTP Authentication was added in 4.3, please see updated documentation: <a href="https://www.netxms.org/documentation/adminguide/event-processing.html#notification-channels" rel="nofollow ugc">https://www.netxms.org/documentation/adminguide/event-processing.html#notification-channels</a></p>
]]></description><link>https://forum.netxms.org/post/32468</link><guid isPermaLink="true">https://forum.netxms.org/post/32468</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 22 May 2023 15:02:47 GMT</pubDate></item><item><title><![CDATA[Reply to Sending emails from a Windows server with Office365? on Tue, 13 Jul 2021 07:52:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wimpers" aria-label="Profile: wimpers">@<bdi>wimpers</bdi></a> said in <a href="/post/30191">Sending emails from a Windows server with Office365?</a>:</p>
<blockquote>
<p dir="auto">Yes I know but then you need another Windows box and license.</p>
</blockquote>
<p dir="auto">Just for the record - you can install them on the same box. No extra machine is needed...</p>
]]></description><link>https://forum.netxms.org/post/30239</link><guid isPermaLink="true">https://forum.netxms.org/post/30239</guid><dc:creator><![CDATA[2b2bff]]></dc:creator><pubDate>Tue, 13 Jul 2021 07:52:36 GMT</pubDate></item><item><title><![CDATA[Reply to Sending emails from a Windows server with Office365? on Thu, 24 Jun 2021 11:44:18 GMT]]></title><description><![CDATA[<p dir="auto">Yes I know but then you need another Windows box and license.</p>
<p dir="auto">But relaying via Postfix is also easy, once you know how to configure it...  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--sunglasses" style="height:1.4em;width:auto;vertical-align:middle" title="8)" alt="😎" /></p>
<p dir="auto">I used this one to test it with G-mail first: <a href="https://www.howtoforge.com/tutorial/configure-postfix-to-use-gmail-as-a-mail-relay" rel="nofollow ugc">https://www.howtoforge.com/tutorial/configure-postfix-to-use-gmail-as-a-mail-relay</a><br />
This is for OWA 365 but very similar: <a href="https://www.informaticapressapochista.com/linux/configure-postfix-use-office365-smtp-relay-ubuntu-16-04/" rel="nofollow ugc">https://www.informaticapressapochista.com/linux/configure-postfix-use-office365-smtp-relay-ubuntu-16-04/</a><br />
Microsoft is not as cool as Google when it comes to accepting mails not being sent by the authenticated use so you have to change the headers a bit; they must be the same as the account you'll log in to OWA 365 or your message gets rejected: <a href="https://wiki.4psa.com/display/KB/How+to+change+the+From+header+for+messages+sent+by+Postfix" rel="nofollow ugc">https://wiki.4psa.com/display/KB/How+to+change+the+From+header+for+messages+sent+by+Postfix</a></p>
<p dir="auto">These last 6 weeks have been interesting because I learnt a lot about this nice NetXMS product but now my project's time's up.</p>
]]></description><link>https://forum.netxms.org/post/30191</link><guid isPermaLink="true">https://forum.netxms.org/post/30191</guid><dc:creator><![CDATA[wimpers]]></dc:creator><pubDate>Thu, 24 Jun 2021 11:44:18 GMT</pubDate></item><item><title><![CDATA[Reply to Sending emails from a Windows server with Office365? on Thu, 10 Jun 2021 07:53:24 GMT]]></title><description><![CDATA[<p dir="auto">If you want a Microsoft only solution, you can use the smtp server that is built-in to IIS. There a plenty of guides out there how to set this up.</p>
]]></description><link>https://forum.netxms.org/post/30131</link><guid isPermaLink="true">https://forum.netxms.org/post/30131</guid><dc:creator><![CDATA[2b2bff]]></dc:creator><pubDate>Thu, 10 Jun 2021 07:53:24 GMT</pubDate></item><item><title><![CDATA[Reply to Sending emails from a Windows server with Office365? on Wed, 26 May 2021 15:04:11 GMT]]></title><description><![CDATA[<p dir="auto">I won't be able to use that because this requires a Windows server and I'm running this on a simplevWindows 10 box.<br />
There are other mail relays out there like hMailServer but the configuration seems a bit confusing to me and I haven't gotten it up yet but will keep trying.<br />
Otherwise I'll try to convince them to let me use a Linux box instead for the server...  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
<p dir="auto">Thanks,</p>
<p dir="auto">Wim</p>
]]></description><link>https://forum.netxms.org/post/30054</link><guid isPermaLink="true">https://forum.netxms.org/post/30054</guid><dc:creator><![CDATA[wimpers]]></dc:creator><pubDate>Wed, 26 May 2021 15:04:11 GMT</pubDate></item><item><title><![CDATA[Reply to Sending emails from a Windows server with Office365? on Wed, 26 May 2021 05:52:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I suppose that <a href="http://smtp.office365.com" rel="nofollow ugc">smtp.office365.com</a> will require authentication, which is not supported by built-in SMTP sender. Easiest way is to install mail forwarder on same machine, configure NetXMS server to send mails to 127.0.0.1 and then forward everything to <a href="http://smtp.office365.com" rel="nofollow ugc">smtp.office365.com</a> with proper authentication and encryption There are multiple SMTP relays available for Windows. Quick search reveals post for dealing with exact same problem (sending mail to office365 from software that can only do plain SMTP): <a href="https://xo.tc/simple-windows-smtp-relay.html" rel="nofollow ugc">https://xo.tc/simple-windows-smtp-relay.html</a></p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/30047</link><guid isPermaLink="true">https://forum.netxms.org/post/30047</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 26 May 2021 05:52:56 GMT</pubDate></item></channel></rss>