Kristen (kritof) wrote in weblingo,
Kristen
kritof
weblingo

Javascript email program

I'm using the line below in a javascript program contained within an html page.

parent.location='mailto:email_01@aol.com, email_02@aol.com?subject=TEXT OF SUBJECT&body='+'TEXT OF BODY';

This is used to create a new email using the user's email program. The recipients email_01@aol.com and email_02@aol.com are automatically put into the "To:" of the email. What I want to do is have email_01.aol.com in the "To:" (as is). And I want email_02@aol.com in the "CC:"

What is the correct syntax for this?
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

  • 0 comments