Login    Sites MenuBlueStep

BlueStep Platform Support

RelateScript
Outline full outline 
Overview 
Data Types 
Operators 
Statements 
Functions 
Data Conversion 
String Functions 
HTML/CSS/JavaScript 
Array Functions 
Date/Time Functions 
Mathematical Functions 
Advanced Functions 
Alert Functions 
compileSASS(String Sass) 
createChart(...) 
doLookup(...)
B.lookup
 
drugAllergyByProductID(...)
B.Drug.allergyInteractionsWith
 
drugDrugByProductID(...)
B.Drug.drugInteractionsWith
 
drugFoodByProductID(...)
B.Drug.foodInteractions
 
getCurrentNav(...) 
getHTTPRequester(...)
B.fetch
 
getPageInfo()
B.pageInfo
 
getPDF(...)
B.pdf
 
getRecentRecords(...)
B.optRecentRecords,BaseRecord.optRecentRecords,User.recentRecords
 
getSecurityGroup(...)
B.findSecurityGroup
 
getUserData(...)
B.sessionData,User.userData
 
getZipOutput(...)
B.zip
 
isLayout() 
log(...) 
Medispan 
newEmail(...)
B.email
 
readZip(...)
B.zip
 
sendEmail(...)
B.email
 
sendIntramail(...) 
sendMessage(...)
B.sendMessage
 
sendRedirect(...)
B.response.sendRedirect
 
sleep(...) 
Restricted Functions 
Working with Relate Data 
How Formulas Work 
Related Topics 

The sendIntramail(...) function is almost identical to the sendEmail(...) function.  The only real difference is that the addresses in the to, from, cc and bcc fields are usernames instead of email addresses, and when there are multiple addresses they are separated with the newline character, "\n", instead of a comma.  Like sendEmail(...), setIntramail(...) has twelve variations, not counting syntax variations. The function does as its name says: it sends an intramail message. The result of sendIntramail(...) is a Boolean value which indicates whether the intramail was successfully sent.

Syntax:
sendIntramail( to, from, subject, message )
sendIntramail( to, from, subject, message, priority )
sendIntramail( to, from, subject, message, isHTML )
sendIntramail( to, from, subject, message, priority, isHTML )
sendIntramail( to, from, subject, messagecc )
sendIntramail(
to, from, subject, messagecc, priority )
sendIntramail(
to, from, subject, messagecc, isHTML )
sendIntramail(
to, from, subject, messagecc, priority, isHTML )
sendIntramail(
to, from, subject, messageccbcc )
sendIntramail(
to, from, subject, messageccbcc, priority )
sendIntramail(
to, from, subject, messageccbcc, isHTML )
sendIntramail(
to, from, subject, messageccbcc, priority, isHTML )
to.sendIntramail( from, subject, message )
to.sendIntramail( from, subject, message, priority )
to.sendIntramail( from, subject, message, isHTML )
to.sendIntramail( from, subject, message, priority, isHTML )
to.sendIntramail( from, subject, messagecc )
to.sendIntramail( from, subject, messagecc, priority )
to.sendIntramail( from, subject, messagecc, isHTML )
to.sendIntramail( from, subject, messagecc, priority, isHTML )
to.sendIntramail( from, subject, messageccbcc )
to.sendIntramail( from, subject, messageccbcc, priority )
to.sendIntramail( from, subject, messageccbcc, isHTML )
to.sendIntramail( from, subject, messageccbcc, priority, isHTML )

Parameter Description
to A String value containing a newline delimited list of usernames that are the primary recipients of the message.
from A String value containing the username of the sender of the message.
subject A String value containing the subject line of the message.
message A String value containing the body of the message.
cc A String value containing a newline delimited list of usernames that are the secondary recipients of the message.
bcc A String value containing a newline delimited list of usernames that are the secondary recipients who's names will not appear in the email transmission sent to other recipients of the message.
priority An Integer value indicating the priority of the message. A positive number will send the message high priority. A negative number will send the message low priority. A zero or null value or omitting the priority will send the message normal priority. The system attempts to send high-priority messages within a few seconds of being queued.  Normal and low priority message should be sent within a few minutes.
isHTML A boolean value indicating whether the message body is an HTML document. If true the message will be sent with a MIME type of text/html. Otherwise the message will be sent with a MIME type of text/plain. If you select to send an HTML document as the body of the message, it must be a proper document with enclosing <html> and <body> tags.