diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-05-12 13:12:33 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-05-12 13:12:33 (GMT) |
commit | b62e7979600feee23dc7cdb61042a8fc7673122b (patch) | |
tree | f7351372f37979dd2d048e0b68a16a4cd3b2aadb /test/uscxml/test-smtp.scxml | |
parent | 1b11b310be61e51b3ac5ebb83f7c8a33aef3d6e8 (diff) | |
download | uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.zip uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.gz uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.bz2 |
Major Refactoring v2.0
Diffstat (limited to 'test/uscxml/test-smtp.scxml')
-rw-r--r-- | test/uscxml/test-smtp.scxml | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/test/uscxml/test-smtp.scxml b/test/uscxml/test-smtp.scxml deleted file mode 100644 index 44a0176..0000000 --- a/test/uscxml/test-smtp.scxml +++ /dev/null @@ -1,52 +0,0 @@ -<scxml datamodel="ecmascript"> - <script> -//<![CDATA[ - someBinaryData1 = new ArrayBuffer(256); - var view = new Uint8Array(someBinaryData1); - for (var i = 0; i < view.length; i++) { - view[i] = i; - } -//]]> - </script> - - <state id="main"> - - <invoke type="smtp" id="smtp"> - <param name="ssl" expr="'true'" /> - <param name="username" expr="'username'" /> - <param name="password" expr="'password'" /> - <param name="server" expr="'smtp://example.com:587'" /> - </invoke> - - <transition event="invoke.success.smtp"> - <file - operation="read" - sandbox="off" - url="file:///Users/sradomski/Documents/TK/Presentations/umundo/umundo-techtalk.pdf" - callback="file.load.success" - type="binary" - mimetype="application/pdf" - /> - </transition> - - <transition event="file.load.success"> - <send target="#_smtp" event="mail.send" delay="500ms"> - <param name="header" expr="'X-User-Agent: uscxml'" /> - <param name="verbose" expr="'on'" /> - <param name="subject" expr="'This is a test'" /> - <param name="Content-Type" expr="'text/plain'" /> - <param name="attachment" expr="({ filename: 'attachment.txt', mimetype: 'text/plain', data: 'Attachment'})" /> - <param name="attachment" expr="({ filename: 'attachment3.txt', data: someBinaryData1 })" /> - <param name="attachment" expr="someBinaryData2" /> - <param name="attachment" expr="({ filename: _event.data.file.name, data: _event.data.content })" /> - <param name="from" expr="'sradomski@example.com'" /> - <param name="to" expr="'sradomski@example.com'" /> - <param name="cc" expr="'sradomski2@example.com'" /> - <param name="cc" expr="'sradomski3@example.com'" /> - <param name="bcc" expr="'sradomski4@example.com'" /> - <content>I just tried your SMTP invoker</content> - </send> - </transition> - - </state> -</scxml>
\ No newline at end of file |