The Base64 Idea is pretty helpfull in other situations, thanks Ryan.
On 4-Dec-08, at 7:00 PM, Fotis Chatzinikos wrote:
Upload the files to the server, get some unique ids back, send the
mail text and the ids back to the server,
prepare and send the mail attaching the files the ids descrinbe and
remember to delete the files ;-)
On Thu, Dec 4, 2008 at 11:36 PM, Ryan Graham
<[EMAIL PROTECTED]> wrote:
Perhaps you could gather the attachments in flex, add a parameter
to your webservice for them, base64 encode them for transfer via
that parameter, then base64 decode them back to binary files on the
server when sending the email? Note, base64 encoding binary data
increases its size roughly 30% for the transfer to the server. Not
sure if bandwidth is an issue in your scenario.
HTH,
Ryan
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Adrian Williams
Sent: Thursday, December 04, 2008 2:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tricky one...adding attachments to an email
generated from the app
Hi guys,
And yet another one that I haven't seen...
Part of our app allows a user to send an email to one or more
folks in their view. We simply provide a state that has a simple
email form they fill out and then we pass that information back
through our web service (.NET) that actually has the procedure to
send the email.
What I need to be able to do is allow the user to add
attachments to the email they want to send out. Is there any way to
do this and is there a better method to the email solution? We
briefly toyed with the idea of just creating the hyperlink to use
their own email client, but a user can literally send a bulk email
to several thousand people and a hyperlink would die a slow,
miserable death trying to handle that.
Thanks!
Adrian
This message is private and confidential. If you have received it in
error, please notify the sender and remove it from your system.
--
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
[EMAIL PROTECTED],