Ver código fonte

[SwiftmailerBundle] updated XSD

Fabien Potencier 14 anos atrás
pai
commit
a5daf4706a

+ 7 - 0
src/Symfony/Bundle/SwiftmailerBundle/Resources/config/schema/swiftmailer-1.0.xsd

@@ -10,6 +10,7 @@
   <xsd:complexType name="config">
     <xsd:all>
       <xsd:element name="spool" type="spool" minOccurs="0" maxOccurs="1" />
+      <xsd:element name="antiflood" type="antiflood" minOccurs="0" maxOccurs="1" />
     </xsd:all>
 
     <xsd:attribute name="username" type="xsd:string" />
@@ -22,6 +23,7 @@
     <xsd:attribute name="type" type="xsd:string" />
     <xsd:attribute name="delivery-address" type="xsd:string" />
     <xsd:attribute name="disable-delivery" type="xsd:boolean" />
+    <xsd:attribute name="sender-address" type="xsd:boolean" />
     <xsd:attribute name="logging" type="xsd:string" />
   </xsd:complexType>
 
@@ -30,6 +32,11 @@
     <xsd:attribute name="path" type="xsd:string" />
   </xsd:complexType>
 
+  <xsd:complexType name="antiflood">
+    <xsd:attribute name="threshold" type="xsd:string" />
+    <xsd:attribute name="sleep" type="xsd:string" />
+  </xsd:complexType>
+
   <xsd:simpleType name="encryption">
     <xsd:restriction base="xsd:string">
       <xsd:enumeration value="tls" />