Usually, you would be using a server-side script that will handle the E-mail sending. Since this is what you'd usually do ( and I'd suggest you do so in case you are not ) then it's quite easy... Your server-side script will handle the attaching, sending and whatever you might want. You only need to pass the desired data from the application to your server-side script. In case you have no idea how to do that, then spend some time surfing Adobe LiveDocs because you'll find some examples there that should be enough to get your started.