Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

Ezilon Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 02-24-2008, 03:31 PM   #1 (permalink)
Junior Member
 
Join Date: 04-07-07
Posts: 6
iTrader: 0 / 0%
Latest Blog:
None

xarzu is liked by many
mailto in html

I am trying to use the tag "mailto" in an HTML file to prompt the user to email me. Specifically, I want to have the subject and the body of the email message already filled in when the user sends me the email.

So far, I have managed to have a hyperlink where the body is already filled in:
HTML Code:
<a href="mailto::username@gmail.com?body='test'">this works</a>
I have also managed to have a hyperlink where the subject line is already filled in:

HTML Code:
<a href="mailto:usernamegmail.com?subject='the subject'">this works too</a>
But I have yet to figure out how do combine the two:
HTML Code:
<a href="mailto::username@gmail.com?subject='the subject and the body'?body='test'">help</a>
Does anyone know how to do this?
xarzu is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-24-2008, 04:45 PM   #2 (permalink)
Contributing Member
 
Join Date: 05-18-04
Location: Florida
Posts: 987
iTrader: 0 / 0%
Latest Blog:
None

pinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nice
Encrypt it plz unless of course you want to improve your penis size

There's a bunch of ways to do it - here's a free java encryption method app - http://rapidshare.com/files/94663253...ailto.zip.html

just fill in the blanks it will do it for you
__________________
Just because you're paranoid doesn't necessarily mean people aren't out to get you
pinkfluffybunny is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-25-2008, 03:27 AM   #3 (permalink)
v7n Mentor
 
Join Date: 09-03-07
Location: England
Posts: 537
iTrader: 0 / 0%
Latest Blog:
None

Boogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really nice
do it like this:

<a href="mailto:youmail@youdomain.com?subject=hello&b ody=hello">mail</a>

Boog's
__________________
Great new 'June' Javascript Framework

June Forums - Innovative JScripting

Price is what you pay... Value is what you get.
Boogle is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-25-2008, 01:56 PM   #4 (permalink)
Contributing Member
 
Join Date: 10-13-03
Location: Castle Rock, CO
Posts: 60
iTrader: 0 / 0%
Corey Bryant is on the right pathCorey Bryant is on the right pathCorey Bryant is on the right path
I was using Expression Web to create the code and it created this:
Code:
<a href="mailto:crb@example.com?subject=Subject Here">E-Mail Me</a>
That seemed to work well.
Corey Bryant is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-26-2008, 03:08 AM   #5 (permalink)
v7n Mentor
 
Join Date: 09-03-07
Location: England
Posts: 537
iTrader: 0 / 0%
Latest Blog:
None

Boogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really nice
Quote:
Originally Posted by Corey Bryant View Post
I was using Expression Web to create the code and it created this:
Code:
<a href="mailto:crb@example.com?subject=Subject Here">E-Mail Me</a>
That seemed to work well.
That only fills in the subject, xarzu wanted body & subject filling in,

<a href="mailto:i@i.com?subject=xxxx&body=xxx">mail</a>

Boog's
__________________
Great new 'June' Javascript Framework

June Forums - Innovative JScripting

Price is what you pay... Value is what you get.
Boogle is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-29-2008, 02:59 PM   #6 (permalink)
Contributing Member
 
kyrie's Avatar
 
Join Date: 02-19-08
Posts: 87
iTrader: 0 / 0%
kyrie is liked by many
or you can do it through PHP...It is more secure
kyrie is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-01-2008, 09:05 AM   #7 (permalink)
Contributing Member
 
Join Date: 05-18-04
Location: Florida
Posts: 987
iTrader: 0 / 0%
Latest Blog:
None

pinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nicepinkfluffybunny is just really nice
Also via java

<script language=javascript>

<!--

var contact = "Admin"

var email = "Info"

var emailHost = "domain.com"

document.write("<a href=" + "mail" + "to:" + email + "@" + emailHost+ ">" + contact + "</a>" + ".")

//-->

</script>
__________________
Just because you're paranoid doesn't necessarily mean people aren't out to get you
pinkfluffybunny is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML: 2 simple html codes. mybluehair Coding Forum 6 04-20-2007 11:59 AM
HTML: What if html tidy messes with the page layout ? Linda in NY Coding Forum 63 04-18-2007 08:54 AM
Learning HTML & HTML Editors Kalina Marketing Forum 13 03-03-2006 10:57 AM
Google Toolbar About.HTML HTML Injection Vulnerability imaginemn Google Forum 5 09-21-2004 11:06 AM
Is there a scipt adding new html to existing html automatic? crazyhorse Coding Forum 6 07-29-2004 03:32 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 07:26 PM.
© Copyright 2008 V7 Inc