<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.os4x.com/index.php?action=history&amp;feed=atom&amp;title=OS4X_plugin_os4xplugin_email_files</id>
	<title>OS4X plugin os4xplugin email files - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.os4x.com/index.php?action=history&amp;feed=atom&amp;title=OS4X_plugin_os4xplugin_email_files"/>
	<link rel="alternate" type="text/html" href="https://wiki.os4x.com/index.php?title=OS4X_plugin_os4xplugin_email_files&amp;action=history"/>
	<updated>2026-05-12T03:10:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.os4x.com/index.php?title=OS4X_plugin_os4xplugin_email_files&amp;diff=2738&amp;oldid=prev</id>
		<title>Admin at 10:00, 10 February 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.os4x.com/index.php?title=OS4X_plugin_os4xplugin_email_files&amp;diff=2738&amp;oldid=prev"/>
		<updated>2017-02-10T10:00:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:00, 10 February 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Plugins]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Plugins]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Purpose ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Purpose ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Send all files as attachement of a job to a defined recipient via email. The mail body text content is freely configurable.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Send all files as attachement of a job to a defined recipient via email. The mail body text content is freely configurable&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. The email will be sent to the configured recipient of the job if he has a configured email address. This applies to both outgoing and incoming jobs&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Requirements ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Requirements ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.os4x.com/index.php?title=OS4X_plugin_os4xplugin_email_files&amp;diff=2737&amp;oldid=prev</id>
		<title>Admin: New page: Category:Plugins == Purpose == Send all files as attachement of a job to a defined recipient via email. The mail body text content is freely configurable.  == Requirements == *OS4X Ent...</title>
		<link rel="alternate" type="text/html" href="https://wiki.os4x.com/index.php?title=OS4X_plugin_os4xplugin_email_files&amp;diff=2737&amp;oldid=prev"/>
		<updated>2017-02-10T09:55:12Z</updated>

		<summary type="html">&lt;p&gt;New page: &lt;a href=&quot;/wiki/index.php/Category:Plugins&quot; title=&quot;Category:Plugins&quot;&gt;Category:Plugins&lt;/a&gt; == Purpose == Send all files as attachement of a job to a defined recipient via email. The mail body text content is freely configurable.  == Requirements == *OS4X Ent...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Plugins]]&lt;br /&gt;
== Purpose ==&lt;br /&gt;
Send all files as attachement of a job to a defined recipient via email. The mail body text content is freely configurable.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
*OS4X Enterprise license&lt;br /&gt;
*configured and working MTA&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
*Alternative mail FROM address: override the default value of &amp;quot;OS4X &amp;lt;os4x&amp;gt;&amp;quot;.&lt;br /&gt;
*Email address CC: a list of freely defined CC recipient(s) is configurable. This configuration option supports XPath expressions based on the job&amp;#039;s XML.&lt;br /&gt;
*Email address CCC: a list of freely defined CCC recipient(s) is configurable. This configuration option supports XPath expressions based on the job&amp;#039;s XML.&lt;br /&gt;
*Alternative mail subject: The subject of the sent email. This configuration option supports XPath expressions based on the job&amp;#039;s XML.&lt;br /&gt;
*Send subject UTF-8 encoded: some MTAs need the subject formatted as UTF-8 for special characters.&lt;br /&gt;
*Absolute path to mail template: the path of the mail body text template, see below.&lt;br /&gt;
*Debug mail execution: when enabled, more information about environmental variables and the mail command itself is being logged.&lt;br /&gt;
*Send mail as HTML: if required, the sent mail will be declared as &amp;quot;Content-Type: text/html&amp;quot; instead of &amp;quot;Content-Type: multipart/mixed&amp;quot;, which may be required for most mail clients to interpret the attachement correctly.&lt;br /&gt;
*MTA (sendmail) command: the MTA program for sending emails (default: sendmail). If &amp;quot;sendmail&amp;quot; is not available in the PATH (i.e. in &amp;quot;/usr/sbin/sendmail&amp;quot;), you can configure the used MTA here.&lt;br /&gt;
&lt;br /&gt;
== Mail templating ==&lt;br /&gt;
=== Mail subject ===&lt;br /&gt;
The configurative value can include XPath expressions, indicated by a single dollar sign (&amp;quot;&amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt;&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
A productive example could be:&lt;br /&gt;
 OS4X Transfer-PDF - Auftrag $/OS4X_job/job_information/job_number (gesendet an Fa. $/OS4X_job/job_information/recipient/partner_longname)&lt;br /&gt;
&lt;br /&gt;
=== Mail content ===&lt;br /&gt;
A configurable mail template must be configured. This text file is the body of the mail sent to the corresponding person. The default mail template is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Sehr geehrter OS4X-Nutzer,&lt;br /&gt;
&lt;br /&gt;
Ihr OS4X-Auftrag $/OS4X_job/job_information/job_number wurde erfolgreich transferiert. Anbei die zugehörigen Dateien.&lt;br /&gt;
&lt;br /&gt;
MfG&lt;br /&gt;
OS4X&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, a variable is contained in this template. You can use as many variables as you want, the plugin will replace them with the content of the variables. All variables are indicated by a dollar sign &amp;quot;&amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt;&amp;quot; (as in shell scripts). The end of the variable name is a whitespace, tab or end of text. The variable itself is an XPath expression, i.e.:&lt;br /&gt;
 /OS4X_job/job_information/job_number&lt;br /&gt;
This XPath information is executed on the configured XML (either actual or initial one, see above).&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>