Browse Source

Rewrite of channel api.

Martin Edenhofer 9 years ago
parent
commit
cd855f5c4c
1 changed files with 13 additions and 6 deletions
  1. 13 6
      contrib/auto_wizard_example.json

+ 13 - 6
contrib/auto_wizard_example.json

@@ -45,14 +45,21 @@
   ],
   "Channels": [
     {
-      "area": "Email::Inbound",
-      "adapter": "IMAP",
+      "area": "Email::Account",
       "group_id": 1,
       "options": {
-        "host": "mx1.example.com",
-        "user": "some user",
-        "password": "some pw",
-        "ssl": true
+        "inbound": {
+          "adapter": "imap",
+          "options": {
+            "host": "mx1.example.com",
+            "user": "some user",
+            "password": "some pw",
+            "ssl": true
+          }
+        },
+        "outbound": {
+          "adapter": "sendmail"
+        }
       },
       "active":false
     }