I haven't tried this but you may also be able to set the encoding on the
form so that it is sent correctly.
--- Yan Yi Huang <[EMAIL PROTECTED]> wrote:
> You can call a javascript function to format everything(field values I 
> assume) in anyway you want and set the form.action to whatever field 
> value the user has enterred, such as "God@heaven", before calling the 
> form.submit().
> 
> 
> Patrick Li wrote:
> 
> >Yes, I know about that tag, but I want to format the form into some
> >readable format, not url encoded. The recipient is also choosen by the
> >user. So, this won't work for me. I need a way to send email inside the
> >script after all the formatting.
> >
> >Patrick
> >-----Original Message-----
> >From: James A. N. Stauffer [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, June 27, 2002 12:54 PM
> >To: JDJList
> >Subject: [jdjlist] Re: emailing in javascript
> >
> >
> >It is basically like the following.  One note is that it will use the
> >browser to send the email and some browsers may not be setup to do that.
> >
> >The email will also be encoded.
> >
> >FORM NAME="myForm" ACTION="mailto:God@heaven";
> >
> >SCRIPT
> >document.myForm.submit();
> >/SCRIPT
> >--- Patrick Li <[EMAIL PROTECTED]> wrote:
> >
> >>I know html has mailto action, but don't know about javascript. How do
> >>you invoke it?
> >>
> >>-----Original Message-----
> >>From: James A. N. Stauffer [mailto:[EMAIL PROTECTED]]
> >>Sent: Thursday, June 27, 2002 12:23 PM
> >>To: JDJList
> >>Subject: [jdjlist] Re: emailing in javascript
> >>
> >>
> >>JavaScript could sumbit a form with a mailto action.
> >>
> >>--- "Mark E. Zawadzki" <[EMAIL PROTECTED]> wrote:
> >>
> >>>given javascript's restrictions on interacting with the operating
> >>>
> >>system,
> >>
> >>>ports, etc. I would say not.
> >>>--- Patrick Li <[EMAIL PROTECTED]> wrote:
> >>>
> >>>>Hi, 
> >>>> 
> >>>>Is there a way to send emails from a javascript?
> >>>> 
> >>>>Thanks in advance
> >>>> 
> >>>>Patrick
> >>>>
> >>>>
> >>>>To change your membership options, refer to:
> >>>>http://www.sys-con.com/java/list.cfm
> >>>>
> >>>
> >>>=====
> >>>Mark Zawadzki Performance Engineer/DBA/Programmer
> >>>extraordinaire'[EMAIL PROTECTED]
> >>>
> >>[EMAIL PROTECTED]"Programming
> >>
> >>>today is a race between software engineers striving to build bigger
> >>>
> >>and
> >>
> >>>better idiot-proof programs, and the universe trying to build bigger
> >>>
> >>and
> >>
> >>>better idiots. So far, the universe is winningRobert Cringle
> >>>
> >>(columnist,
> >>
> >>>author, host of "Triumph of the Nerds")
> >>>
> >>>__________________________________________________
> >>>Do You Yahoo!?
> >>>Yahoo! - Official partner of 2002 FIFA World Cup
> >>>http://fifaworldcup.yahoo.com
> >>>
> >>>To change your membership options, refer to:
> >>>http://www.sys-con.com/java/list.cfm
> >>>
> >>
> >>=====
> >>James Amos Nathaniel Stauffer 
> >>Stauffer_James 
> >>@yahoo.com 
> >>Spam food: [EMAIL PROTECTED]
> >>
> >>__________________________________________________
> >>Do You Yahoo!?
> >>Yahoo! - Official partner of 2002 FIFA World Cup
> >>http://fifaworldcup.yahoo.com
> >>
> >>To change your membership options, refer to:
> >>http://www.sys-con.com/java/list.cfm
> >>
> >>To change your membership options, refer to:
> >>http://www.sys-con.com/java/list.cfm
> >>
> >
> >
> >=====
> >James Amos Nathaniel Stauffer 
> >Stauffer_James 
> >@yahoo.com 
> >Spam food: [EMAIL PROTECTED]
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! - Official partner of 2002 FIFA World Cup
> >http://fifaworldcup.yahoo.com
> >
> >To change your membership options, refer to:
> >http://www.sys-con.com/java/list.cfm
> >
> >To change your membership options, refer to:
> >http://www.sys-con.com/java/list.cfm
> >
> 
> 
> 
> To change your membership options, refer to:
> http://www.sys-con.com/java/list.cfm
> 


=====
James Amos Nathaniel Stauffer 
Stauffer_James 
@yahoo.com 
Spam food: [EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to