Receives a list of one or more files to attach. Each file must be either a [[Document]], [[Id]] of a [[Document]], string value of an [[Id]] of a [[Document]] or the permUrl of an uploaded document (beginning with "/download/"). If the document is referenced by its permUrl from within the HTML body of email message then the attachment will be converted to an embedded attachment and the URL in the HTML body will be converted to a "cid:" url referencing the embedded file. This is generally used exclusively for small images displayed within the email message. Many email clients do not show embedded attachments in the normal attachment list.
This method receives either a single email address or a list of email addresses that will be added to the BCC list of recipients of the email.
The bulk priority is a BlueStep feature which allows large bulk mailings to be sent with a lower computing priority so other smaller mailing to not get unduely delayed. If sending a large quantity of emails please be polite and take advantage of this feature. The number given should be from 0 to 9 with 0 being highest priority and the default. The result of the bulkPriority(...) function is the original EmailMessage object.
WARNING: BlueStep client agreements prohibit sending unsolicited or spam email. Bulk emails should only be sent to people with whom your organization has an existing relationship. Failure to follow this rule may result in termination of your account. This especially important because if our mail server becomes marked as a spam server then our ability to send email on behalf of ALL of our clients becomes seriously compromised.
This method receives either a single email address or a list of email addresses that will be added to the CC list of recipients of the email.
Use this method with some caution when sending complex HTML email.
Optional
condition: booleanWhen true - the default, the HTML body of the email message to be searched for permUrls of documents uploaded to the BlueStep system. Each url found will be converted to an embedded attachment without the need to use the [[attach]] method. This method is NOT smart enough to recognize URLs found within the HTML body that should not be converted such as URLs included as text instead of a tag attribute or fully qualified URLs with a domain and protocol.
This method receives either a single email address or a list of email addresses that will be added to the FROMS list of the email.
The html body should be a full HTML document complete with at least an enclosing html tag and a body section. Please note that although HTML is usually the preferred format for email, not all email reader software supports HTML. If a receiver's email software does not support HTML then either the plain text email message will be displayed (if present) or the source-code of the HTML message will be shown
Sets the STMP priority field to high, normal or low. If the number received is 0 the priority will be normal. If the number is greater than 0 the priority will be high. Otherwise the priority will be low.
This method receives either a single email address or a list of email addresses that will be added to the REPLYTO list of the email.
This queues the email message to be sent.
The sender is the single email account which is responsible for actually sending the message. IMPORTANT: The sender address MUST be hosted by mail.bluestep.net or the the email will almost certainly be marked as spam.
The subject is one of the mandatory values which must be set for the email to be successfully sent
The plain text body of the email message. The plain text message body is seen by the recipient if there is no HTML body or if the receiving email software does not support display of HTML.
This method receives either a single email address or a list of email addresses that will be added to the TO list of recipients of the email.
Used to send an email. See [[B.email]]