HighDots Forums  

multiple email addresses

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss multiple email addresses in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
david
 
Posts: n/a

Default multiple email addresses - 07-16-2004 , 05:08 AM






Hi Guys,

Quick two questions,

can I use more than one email address to post a form and how would that
be formatted, i.e. do I use two mailto addresses

Also, because I am using the post method, no CGI etc. I have set my form
enctype to multipart/form-data (See code below). This creates an ATT
file which I can read with Word but the formatting is not very nice. Is
is a case of this is how good it gets unless I use proper form handling
/ scripting

<form action="mailto:you (AT) yourbusiness (DOT) co.uk" method="post"
enctype="multipart/form-data" name="INFO_REQ"
onsubmit="MM_validateForm('Name','','R','postcode' ,'','R');return
document.MM_returnValue">


thanks Dave


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: multiple email addresses - 07-16-2004 , 09:01 AM






There are two basic ways to process form data -

1. Use mailto:name (AT) domain (DOT) 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.).

Now - on to your questions.

Quote:
can I use more than one email address to post a form and how would that
be formatted, i.e. do I use two mailto addresses
Using mailto: I don't know. Using Method 2, it would be very easy to simply
include another email address in the scripting.

Quote:
creates an ATT
file which I can read with Word but the formatting is not very nice.
Change your code to this -

<form action="mailto:you (AT) yourbusiness (DOT) co.uk" method="post"
enctype="text/plain" name="INFO_REQ"
onsubmit="MM_validateForm('Name','','R','postcode' ,'','R');return
document.MM_returnValue">


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"david" <dave.egerton (AT) ntlworld (DOT) com> wrote

Quote:
Hi Guys,

Quick two questions,

can I use more than one email address to post a form and how would that
be formatted, i.e. do I use two mailto addresses

Also, because I am using the post method, no CGI etc. I have set my form
enctype to multipart/form-data (See code below). This creates an ATT
file which I can read with Word but the formatting is not very nice. Is
is a case of this is how good it gets unless I use proper form handling
/ scripting

form action="mailto:you (AT) yourbusiness (DOT) co.uk" method="post"
enctype="multipart/form-data" name="INFO_REQ"
onsubmit="MM_validateForm('Name','','R','postcode' ,'','R');return
document.MM_returnValue"


thanks Dave




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.