p:send-mail — The standard p:send-mail step.
The p:send-mail
step sends an email message.
Input port | Primary | Sequence | Content types |
---|
source | ✔ | ✔ | any |
Output port | Primary | Sequence | Content types |
---|
result | ✔ | | application/xml |
Option name | Type | Default value |
---|
auth | map(xs:string, item()+)? | () |
parameters | map(xs:QName, item()*)? | () |
serialization | map(xs:QName,item()*)? | () |
Declaration
1 |<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
| <p:input port="source" sequence="true" content-types="any"/>
| <p:output port="result" content-types="application/xml"/>
| <p:option name="serialization" as="map(xs:QName,item()*)?"/>
5 | <p:option name="auth" as="map(xs:string, item()+)?"/>
| <p:option name="parameters" as="map(xs:QName, item()*)?"/>
|</p:declare-step>
Errors
Code | Description |
---|
err:XC0159 | It is a dynamic error (err:XC0159 ) if any key in
the “auth ” map is associated with a value that is not
an instance of the required type. |
err:XC0160 | It is a dynamic error (err:XC0160 ) if any key in
the “parameters ” map is associated with a value that
is not an instance of the required type. |
err:XC0161 | It is a dynamic error (err:XC0161 )
if the first document on the source port does not conform to the required format. |
err:XC0162 | It is a
dynamic error (err:XC0162 ) if the email cannot be send. |
Implementation defined features