Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Matan/AS3Mailer
Sends email from flash using server script or invokes a mailto.
https://github.com/Matan/AS3Mailer
Last synced: 3 months ago
JSON representation
Sends email from flash using server script or invokes a mailto.
- Host: GitHub
- URL: https://github.com/Matan/AS3Mailer
- Owner: Matan
- Created: 2011-06-07T12:04:44.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-08-27T11:15:36.000Z (about 13 years ago)
- Last Synced: 2024-05-03T05:14:18.697Z (6 months ago)
- Language: ActionScript
- Homepage: http://doesflash.com/2011/06/as3mailer-send-email-from-flash/
- Size: 2.14 MB
- Stars: 9
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.textile
- License: LICENSE
Awesome Lists containing this project
- awesome-actionscript-sorted - AS3Mailer - Sends email from flash using server script or invokes a mailto. (Networking / Email)
README
h2. AS3Mailer
Send emails from Flash using server scripts or a mailto link.
h2. Call out to server developers!
I'd love to see more implementations of the server mailing script. It should be very easy to model any other language implementation from the current php one. Please fork and show us your greatness! :)
h3. Overview
AS3Mailer provides you with a simple api to format and manage an email. Easily add recipients, from address, subject and email body.
h3. Some Features
Please check out the "AS3Mailer - Send email from Flash":http://doesflash.com/2011/06/as3mailer-send-email-from-flash/ for a working example.
* Easy api.
* Use any server script.
* Fall back mailto link creation.
* Load external email body.h3. Quick Examples:
var mailer : AS3Mailer = new AS3Mailer("SECRET_WORD", "http://somedomain.com/mail.php");
mailer.setFrom("[email protected]", "Does Flash?");
mailer.addRecipient("[email protected]", "Some Dude");
mailer.addRecipient("[email protected]", "Other Dude", AS3Mailer.CC);
mailer.subject = "Test Mail using AS3Mailer";
mailer.messageURL = "http://somedomain.com/static-mail-example.html?";
mailer.send();
var mailer : AS3Mailer = new AS3Mailer("SECRET_WORD", "http://somedomain.com/mail.php");
mailer.send("[email protected]", "[email protected]", "Dear Mr. To", "Hello Mr. To, how are you?");
var mailer : AS3Mailer = new AS3Mailer();
mailer.send("[email protected]", "[email protected]", "Dear Mr. To", "Hello Mr. To, how are you?");h3. Dependencies
* "AS3Crypto":http://code.google.com/p/as3crypto/
h2. License
The MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.