<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Send HTML body with Mail Service SL</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/7f0be5feef/</link><description>Recent posts to Send HTML body with Mail Service SL</description><language>en</language><lastBuildDate>Tue, 14 Apr 2026 08:12:14 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/forge/talk/Engineering/thread/7f0be5feef/feed.rss" rel="self" type="application/rss+xml"></atom:link><item><title>Send HTML body with Mail Service SL</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/7f0be5feef/?limit=25#c488</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm trying to send a mail using Mail service SL.&lt;/p&gt;
&lt;p&gt;I would like the body to be in HTML format for a nicer look. Which I managed to do, but only if I don't send an attachment.&lt;br/&gt;
Can someone help me with the settings on how to send an HTML body and attachment?&lt;/p&gt;
&lt;p&gt;I used the Mail Service SL Example project, the only thing I added in the "Main_PRG" code in line 51 under "SendMailFB" is "mimeType := 1".&lt;/p&gt;
&lt;p&gt;I'm using Library:&lt;br/&gt;
Mail Service SL Library Documentation&lt;br/&gt;
Company:    CODESYS&lt;br/&gt;
Title:  Mail Service SL&lt;br/&gt;
Version:    1.13.0.0&lt;br/&gt;
Categories: Application|Utils&lt;br/&gt;
Namespace:  MAIL&lt;br/&gt;
Author: CODESYS Development GmbH&lt;br/&gt;
Placeholder:    Mail_Service_SL&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">msegon</dc:creator><pubDate>Tue, 14 Apr 2026 08:12:14 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com507518bdffa8e3d3e3a19cd5a2d34d2a9dde62f3</guid></item></channel></rss>