{ "ns" : "http://www.zorba-xquery.com/modules/email/smtp", "description" : " This module can be used for sending emails.\n The SMTP module contains only one public function that receives two parameters.\n The SMTP server access information passed as an hostInfo
element\n and the email message representation as a message
element.\n For a quick start see the examples associates with the send(...)
\n function. For a complete specification read, the description and the\n documentation associated with this function.\n", "sees" : [ "hostName
child element of $host-info
must have the form:\n remote_system_name [\":\" port] [flags]
. This syntax is part of the\n Remote names\n syntax defined in the UW IMAP toolkit. The remote_system_name
and\n flags
fragments are explained in the section III
of this document.\n For example the hostName could look like:\n
<hostName>smtp.gmail.com:587/tls/novalidate-cert<hostName>
<hostName>[209.85.129.111]:587/tls/novalidate-cert<hostName>
$host-info
parameter could then look like this:\n \n <hostInfo>\n <hostName>smtp.gmail.com:587/tls/novalidate-cert</hostName>\n <userName>username</userName>\n <password>password</password>\n </hostInfo>\n\n For a complete of the structure of an email message, see the imported email\n schema:
http://www.zorba-xquery.com/modules/email
\n All the data passed to this function does not need to be validated.\n The only requirement is that they have a valid format and are in the\n correct namespace according to the schema:\n http://www.zorba-xquery.com/modules/email
.\n", "summary" : "This function sends an email message from the specified account.
", "annotation_str" : " %an:sequential", "annotations" : [ { "prefix" : "an", "ns" : "http://zorba.io/annotations", "name" : "sequential", "value" : "" } ], "updating" : false, "parameters" : [ { "name" : "host-info", "type" : "element(email:hostInfo)", "occurence" : null, "description" : "http://www.zorba-xquery.com/modules/email