More Virtual Promote ... Gazette · Webmaster & SEO Tools · Scumware.com · Free Website Templates

SEF

Search Engine Forums
Helping to make the Web - Since 1998
Virtual Promote Member Spotlight
StopScum Today!

Avoid Scams, Abuse, Fraudsters, and Criminals with our candid content. (Steve_S)

Login Password Forget your password?    Trouble Logging In?
.
Forums Index Active Topics New Topics My Topics Search My Profile Register Inbox   Rules & TOS
.
 
Forum Index · Search Engine Forums · Building, Hosting & Maintaining Your Website · Coding & Databases - PHP, ASP, Perl, etc. · mailto in HTML
 
Add to hotlist
Reply to this thread Create a New Topic in this forum
Mark This Forum Read
Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend  
Moderator(s): Prowler, jcokos
Previous Topic Next Topic
Member Message

xarzu
Joined: May 04, 2007
# Posts: 11

View the profile for xarzu Send xarzu a private message

Posted: 02/24/2008 12:24 pm
Edit Message Delete Message Reply to this message

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:
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:

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:
CODE:

<a href="mailto::username@gmail.com?subject='the subject and
the body'?body='test'">help</a>


Does anyone know how to do this?



g1smd
Moderator
Joined: Jul 28, 2002
# Posts: 10060

View the profile for g1smd Send g1smd a private message

Posted: 02/24/2008 01:11 pm
Edit Message Delete Message Reply to this message

Once you implement this, every spammer in the world will be able to collect your email address off your site, and you'll receive hundreds of messages per hour...



Prowler
Moderator
Joined: Aug 14, 2000
# Posts: 1655

View the profile for Prowler Send Prowler a private message

Posted: 02/26/2008 01:07 am
Edit Message Delete Message Reply to this message

Easy xarzu. Try this:



Code: [copy]





As g1smd points out you will end up with tons of spam mails to your email address. Opt for a form page and use a server side script to send the mail to you after a bit of error checking.


 
Forum Index · Search Engine Forums · Building, Hosting & Maintaining Your Website · Coding & Databases - PHP, ASP, Perl, etc. · mailto in HTML
Who's Online?
Reflects user activity within the last 5 minutes
Previous Topic Next Topic
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread



Related Forum Topics



© 1995 - 2006  ·  iWeb, Inc  ·  DBA JimWorld Productions