jboss-as-mail_1_0.xsd 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. xmlns="urn:jboss:domain:mail:1.0"
  4. targetNamespace="urn:jboss:domain:mail:1.0"
  5. elementFormDefault="qualified"
  6. attributeFormDefault="unqualified"
  7. version="1.0">
  8. <!-- The mail subsystem root element -->
  9. <xs:element name="subsystem" type="mail-subsystemType"/>
  10. <xs:complexType name="mail-subsystemType">
  11. <xs:annotation>
  12. <xs:documentation>
  13. <![CDATA[
  14. The configuration of the mail subsystem.
  15. ]]>
  16. </xs:documentation>
  17. </xs:annotation>
  18. <xs:choice minOccurs="1" maxOccurs="unbounded">
  19. <xs:element name="mail-session" type="mail-sessionType"/>
  20. </xs:choice>
  21. </xs:complexType>
  22. <xs:complexType name="mail-sessionType">
  23. <xs:sequence>
  24. <xs:element name="smtp-server" type="server-type" maxOccurs="1" minOccurs="0"/>
  25. <xs:element name="pop3-server" type="server-type" maxOccurs="1" minOccurs="0"/>
  26. <xs:element name="imap-server" type="server-type" maxOccurs="1" minOccurs="0"/>
  27. </xs:sequence>
  28. <xs:attribute name="jndi-name" use="required"/>
  29. <xs:attribute name="debug" use="optional">
  30. <xs:annotation>
  31. <xs:documentation>
  32. <![CDATA[
  33. enables debuging of mail session
  34. ]]>
  35. </xs:documentation>
  36. </xs:annotation>
  37. </xs:attribute>
  38. <xs:attribute name="from" use="optional">
  39. <xs:annotation>
  40. <xs:documentation>
  41. <![CDATA[
  42. sets mail.from attribute
  43. ]]>
  44. </xs:documentation>
  45. </xs:annotation>
  46. </xs:attribute>
  47. </xs:complexType>
  48. <xs:complexType name="login-type" mixed="true">
  49. <xs:attribute name="name"/>
  50. <xs:attribute name="password"/>
  51. </xs:complexType>
  52. <xs:complexType name="server-type" mixed="true">
  53. <xs:sequence>
  54. <xs:element name="login" type="login-type" maxOccurs="1" minOccurs="0"/>
  55. </xs:sequence>
  56. <xs:attribute name="outbound-socket-binding-ref" use="required">
  57. <xs:annotation>
  58. <xs:documentation>
  59. <![CDATA[
  60. Reference to the outbound-socket-binding element in the socket-binding-group that should
  61. be used for configuring the client socket used to communicate with the mail server.
  62. ]]>
  63. </xs:documentation>
  64. </xs:annotation>
  65. </xs:attribute>
  66. <xs:attribute name="ssl" use="optional">
  67. <xs:annotation>
  68. <xs:documentation>
  69. <![CDATA[
  70. enables use of ssl for this server configuration
  71. ]]>
  72. </xs:documentation>
  73. </xs:annotation>
  74. </xs:attribute>
  75. </xs:complexType>
  76. </xs:schema>