<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?action=history&amp;feed=atom&amp;title=Mail-message</id>
	<title>Mail-message - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?action=history&amp;feed=atom&amp;title=Mail-message"/>
	<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Mail-message&amp;action=history"/>
	<updated>2026-04-13T08:49:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.7</generator>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Mail-message&amp;diff=4213&amp;oldid=prev</id>
		<title>G.dimaio: Created page with &quot;==Description==  This element defines the properties of the message. It is used by smtp-call and exchange-send-call its attributes are: {|class=&quot;gvtable&quot; ! Attribute !! T...&quot;</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Mail-message&amp;diff=4213&amp;oldid=prev"/>
		<updated>2014-05-16T13:45:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Description==  This element defines the properties of the message. It is used by &lt;a href=&quot;/gvwiki/index.php?title=Smtp-call&quot; title=&quot;Smtp-call&quot;&gt;smtp-call&lt;/a&gt; and &lt;a href=&quot;/gvwiki/index.php?title=Exchange-send-call&quot; title=&quot;Exchange-send-call&quot;&gt;exchange-send-call&lt;/a&gt; its attributes are: {|class=&amp;quot;gvtable&amp;quot; ! Attribute !! T...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
This element defines the properties of the message. It is used by [[smtp-call]] and [[exchange-send-call]] its attributes are:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| sender-display-name || required || defines the display name of sender.&lt;br /&gt;
|-&lt;br /&gt;
| subject || required || The subject of the email. &amp;lt;br/&amp;gt; You can enter [[GVBuffer]] values using the following syntax:&lt;br /&gt;
* for standard fields&lt;br /&gt;
** ${system}&lt;br /&gt;
** ${service}&lt;br /&gt;
** ${id}&lt;br /&gt;
** ${object}&lt;br /&gt;
** ${retCode}&lt;br /&gt;
* for properties&lt;br /&gt;
** ${property['name']}&lt;br /&gt;
|-&lt;br /&gt;
| content-type || required || Email content-type. &amp;lt;br/&amp;gt; The attribute's admitted values are:&lt;br /&gt;
* text-plain&lt;br /&gt;
* text-html&lt;br /&gt;
|-&lt;br /&gt;
| high-priority || optional || The priority of the mail. &amp;lt;br/&amp;gt; The attribute's admitted values are:&lt;br /&gt;
* true&lt;br /&gt;
* false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Its sub-elements are:&lt;br /&gt;
* [[#destinations|destinations]]&lt;br /&gt;
* [[#message-body|message-body]]&lt;br /&gt;
* [[#attachments|attachments]]&lt;br /&gt;
* [[Description]]&lt;br /&gt;
&lt;br /&gt;
==Internal elements==&lt;br /&gt;
&lt;br /&gt;
====destinations====&lt;br /&gt;
&lt;br /&gt;
This element contains the list of mail recipients.&lt;br /&gt;
&lt;br /&gt;
Might contain the following sub-elements:&lt;br /&gt;
* [[Description]]&lt;br /&gt;
* ''to'': Contains the list of recipients of the email. Is overwritten by the value of the GVBuffer property GV_SMTP_TO.&lt;br /&gt;
* ''cc'': Contains the list of recipients in knowledge of the mail. Is overwritten by the value of the GVBuffer property GV_SMTP_CC. &lt;br /&gt;
* ''bcc'': Contains the list of recipients in hidden knowledge of the mail. Is overwritten by the value of the GVBuffer property GV_SMTP_BCC.&lt;br /&gt;
&lt;br /&gt;
Every sub-element (''to'', ''cc'' and ''bcc'') has the sub-elements: &lt;br /&gt;
* [[Description]]&lt;br /&gt;
* mail-address: containing the email address of a recipient. The ''address'' value is set in its attribute:&lt;br /&gt;
** address&lt;br /&gt;
&lt;br /&gt;
====message-body====&lt;br /&gt;
&lt;br /&gt;
The sub-element ''message-body'' defines the message body of the email. It is used by ''mail-message''.&lt;br /&gt;
&lt;br /&gt;
It has the following attributes:&lt;br /&gt;
* ''gvBuffer-dump'': If true, the [[GVBuffer]] dump will be included in the message body. Default: false. &amp;lt;br/&amp;gt; The attribute's admitted values are:&lt;br /&gt;
** false&lt;br /&gt;
** true&lt;br /&gt;
&lt;br /&gt;
It has as sub-elements:&lt;br /&gt;
* [[Description]]&lt;br /&gt;
* [[#message-text|message-text]]&lt;br /&gt;
&lt;br /&gt;
====message-text====&lt;br /&gt;
&lt;br /&gt;
This element contains the message of the email. You can enter [[#gvBuffer|gvBuffer]] values using the following syntax:&lt;br /&gt;
* for standard fields&lt;br /&gt;
** ${system}&lt;br /&gt;
** ${service}&lt;br /&gt;
** ${id}&lt;br /&gt;
** ${object}&lt;br /&gt;
** ${retCode}&lt;br /&gt;
* for properties&lt;br /&gt;
** ${property['name']}&lt;br /&gt;
&lt;br /&gt;
For example, if &amp;quot;object&amp;quot; is a dom can write:&lt;br /&gt;
${@it.greenvulcano.util.xml.XMLUtils@serializeDOM_S(object)}&lt;br /&gt;
&lt;br /&gt;
Its attribute ''escape-HTML-in-gvBuffer-fields'' allows you to specify whether, when replacing the [[placeholders]] for the fields of [[GVBuffer]], any invalid characters for XML/HTML should be replaced with the corresponding entity. Default to ''true''.&lt;br /&gt;
&lt;br /&gt;
====attachments====&lt;br /&gt;
&lt;br /&gt;
Use this ''mail-message'' subelements to define the list of attachments of the email. It is overwritten by the value of the GVBuffer property GV_SMTP_ATTACHMENTS.&lt;br /&gt;
&lt;br /&gt;
It has the following attributes:&lt;br /&gt;
* [[Description]]&lt;br /&gt;
* [[#file-attachment|file-attachment]]&lt;br /&gt;
* [[#gvBuffer|gvBuffer]]&lt;br /&gt;
&lt;br /&gt;
====file-attachment====&lt;br /&gt;
&lt;br /&gt;
Use this element to define the file to attach to the email.&lt;br /&gt;
&lt;br /&gt;
It has the attribute ''path'' where you can set the path of the file to attach. The attribute's value can't be null.&lt;br /&gt;
&lt;br /&gt;
====gvBuffer====&lt;br /&gt;
&lt;br /&gt;
Use this element if you want to attach at the email the GVBuffer contents.&lt;br /&gt;
&lt;br /&gt;
It has the attribute ''name'' with which you can define a name of the attachment containing the [[GVBuffer]] contents. The attribute's value can't be null.&lt;/div&gt;</summary>
		<author><name>G.dimaio</name></author>
		
	</entry>
</feed>