spacer
      spacer
 

Further things you can do to code an email from a webpage

 

mail + font control + subject line

<script type="text/javascript">document.write("<a href='mailto:" + "illustration" + "@" + "minkystapleton" + ".co.za" + "?" + "subject" + "=Shop Enquiry'>" + "<font color='#FFFFFF' style='font-weight:800'>enquire</font>" + "</a>");</script>

mail + font control

<script type="text/javascript">document.write("<a href='mailto:" + "illustration" + "@" + "minkystapleton" + ".co.za'>" + "<font color='#FFFFFF' style='font-weight:800'>enquire</font>" + "</a>");</script>

mail 'enquire'

<script type="text/javascript">document.write("<a href='mailto:" + "illustration" + "@" + "minkystapleton" + ".co.za'>" + "enquire" + "</a>");</script>

mail address

<script type="text/javascript">document.write("<a href='mailto:" + "water" + "@" + "waterconcepts" + ".co.za'>" + "water" + "@" + "waterconcepts" + ".co.za" + "</a>");</script>

+ subject line

<script type="text/javascript">document.write("<a href='mailto:" + "create" + "@" + "artscollective" + ".co.za" + "?subject=" + "Studio Collective Art Courses'>" + "create" + "@" + "artscollective" + ".co.za" + "</a>");</script>

+ body

<script type="text/javascript">document.write("<a href='mailto:" + "anni" + "@" + "annisnyman" + ".co.za" + "?subject=" + "Blue Valentines Order" + "&amp;body=" + "Please specify the BV or DW number, print size up to 100 x 100 cm, print quantity, and your contact details. Thank you, Anni Snyman.'>" + "Anni " + "Snyman" + "</a>");</script>

button mail + subject (replace the @ and ? symbols)

<a href="mailto:yourName&#64;adomain.com&#63;subject=Sperm Donor Query">Email me</a>

+body

<a href="mailto:anni&#64;annisnyman.co.za&#63;subject=Blue Valentines Order&amp;body=Please specify BV number, print size, number of prints, and contact details. Thank you.">Email me</a>

+returns

add the ascii characters for a carriage return (%0D) and line feed (%0A)

%0D%0A

<a href="mailto:anni&#64;annisnyman.co.za&#63;subject=Blue Valentines Order&amp;body=Please specify BV number, print size, number of prints, and contact details.%0D%0AThank you.">Email me</a>

 

 

 

{Tanya Pretorius' Bookmarks: Computers, Software how-tos, Add sound in Dreamweaver}


 
 

Creative Commons Licensespacerarmadilly logo
The parts of this website that are my own work,
are licensed under a Creative Commons Licence.
Tanya Pretorius' Bookmarks | [fetsiboomsticks@gmail.com]

   


New
Home
About me

Email me
Infoholism
South Africa
Language
Computers
Eclectic
Feminism
Teaching
Writing
Columnists
Books
Art