# AS3 send Email with attachment (swf printscreen-\>JPEG) capability?

**URL:** <https://forum.kirupa.com/t/as3-send-email-with-attachment-swf-printscreen-jpeg-capability/302637>\
**Category:** flash\
**Created:** [January 4, 2010, 6:46pm UTC](https://forum.kirupa.com/t/as3-send-email-with-attachment-swf-printscreen-jpeg-capability/302637 "2010-01-04T18:46:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![watcher](https://avatars.discourse-cdn.com/v4/letter/w/77aa72/32.png) [@watcher](https://forum.kirupa.com/u/watcher)\
**Post date:** [January 4, 2010, 6:46pm UTC](https://forum.kirupa.com/t/as3-send-email-with-attachment-swf-printscreen-jpeg-capability/302637/1 "2010-01-04T18:46:40Z")

</div>

Hi Folks,

only those who actually got real code to show please.

Im looking for help on how to create send-email with attachment using AS3.

Furthermore the attachment should be printscreen of the flash movie converted into JPEG (preferrably with no need to upload the file to server - can this be done on the fly?), and the JPEG then should be included as attachment in the email.

Anyone who did this already and would be open to share?

-w

**RELATED SOURCES** :  
(1) Only article ive found atm that describes generally how this can be done in AS3:  
[http://www.flashguru.co.uk/actionscript-3-new-capabilities](http://www.flashguru.co.uk/actionscript-3-new-capabilities)

(2) this link seems to show how to get printscreen of [part of] flash movie and post it to server as jpeg:

> **[ActionScript 3 Jpeg Encoder Revealed: Saving Images from Flash - Design Reviver...](https://designreviver.com/tutorials/actionscript-3-jpeg-encoder-revealed-saving-images-from-flash/)**
>
> Some amazing things can be done with images in ActionScript 3. One of these is the ability to encode a display object as a jpeg, and thanks to the JPEG Encoder included in the AS3 Core Library, doing this is actually quite simple. In this article, I...

(3) printscreen swf and save to HDD as JPG/PNG [FP10]:  
[http://www.bit-101.com/blog/?p=1415](http://www.bit-101.com/blog/?p=1415)
