emails

message from jimbo bagins on 24 Jul 2004
how would you make a form so when they click submit it is sent to the persons email they put in and in the email that is sent it has a image or a flash file!! plz help!
 
Murray *TMM* replied to jimbo bagins on 24 Jul 2004
There are two basic ways to process form data -

1. Use mailto:name@domain.com as the action of the form
2. Use a server-side scripting method to a) harvest the form's data, b)
process it in some manner, e.g., enter it into a database, c) formulate and
send an email to one or more email recipients, and d) redirect the visitor
to some ending page

Method 1 is quite simple, and is also the least reliable. It depends both
on your visitor having an email client already installed on their computer -
this eliminates public computers - and on that email client responding to
the mailto call (Eudora on the Mac is a good example of one that does not).

Method 2 is the preferred method, since it eliminates the problems of method
1, but it means that you have to grapple with server-scripting somehow (ASP,
CF, PHP, perl, etc.).

If you want to add the file attachment, then you have no choice but to go
with method 2.
 
Dan Vendel *GOF* replied to jimbo bagins on 24 Jul 2004
Why do you specify images and flash files? Do you mean that the user
will be able to attach files in general?
 

Archived message: emails (Macromedia Dreamweaver)