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.
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.
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.
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
Generated using TypeDoc
Used to send an email. See [[B.email]]