Send email with attachment

Derek Bump list at dreamscapesoftware.com
Mon Aug 27 00:40:36 EDT 2007


Bill,

What you could do is create the body of the email and encode the
attachment directly into the message via content types (I believe it's
called MIME).  To see what I mean, view the source of an email message
with an attachment.

I am not sure though if *all* email programs would honor the embedded
code when it's passed via the mailto:, and would instead just display it
as inline text as opposed to an attachment.  This may create confusion
for some users.

There is one other consideration that I hope you have not ignored, and
that is that a LOT of people don't use traditional email programs.  They
use web based email like Hotmail or Yahoo Mail.  I had implemented a
mailto: script in one of my programs, only to replace it later on with a
PHP script on my server that would send the email regardless of what
type of email they used (or if they even had email at all).

I hope that helps you in your efforts.  If you're interested in a copy
of the PHP script, email me off-list and I'll send you a copy.


Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com


Bill Vlahos wrote:
> The following command works great for opening a new email message and
> putting the address(s) in it. What I would like to also do is add a
> specific attachment to the email as well but I don't see a parameter for
> doing that. This would be for Mac and Windows now and Linux when Rev 2.9
> comes out.
> 
> revGoURL "mailto:guido at sales.example.com"
> 
> I know there are ways to send email directly from Rev apps but in this
> case I would like to leverage the email program the user already has and
> not require setting up SMTP parameters.
> 
> Thanks,
> Bill Vlahos
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 



More information about the use-livecode mailing list