Crestron
e-control Mail SW-MAIL
100
••
Appendices
Installation & Reference Guide — Doc. 5798
SetSubj
Applies to
e-Mailer signal blocks
Description
Sets the e-Mail message’s
Subj:
header.
Direction
system-to-server
Type
Serial (string)
Value
New value for the
Subj:
header of the next e-Mail message to be sent.
Expected Reply
None
Comments
Required. The e-Mail message is considered incomplete if no subject is provided.
(This is the only piece of information required to send a message. The body is not
required; and all other headers have default values.) If the
SendNow
signal is
issued but the subject header has not been set (by any method), the following error
message is sent back to the control system:
No message specified -- mail cannot be sent.
The string specified for the subject header is subject to text substitution at the time
the message is actually sent. For more information, refer to “Text Substitution and
File Inclusion” on page 48.
Note that this signal does not actually send any mail. Subsequent use of the
SendNow
signal is required to actually send a message.
See Also
The other “Set” signals (
SetFromName, SetRcptName, SetAddr,
and
SetBody
).
Other methods of setting the subject are: the
LookupMsg
signal, and manually
picking a message from the bound message scroller.