473,395 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Using the MailTo: how can I include the page in body of the email

how can i include the current page in the body of the
email. I was only to put text.

Syntax:
<html>
<body>
<input type ="Button" onclick= "eman()">
<SCRIPT LANGUAGE=JAVASCRIPT>
function eman()
{
var e_add= 'R*********@hotmail.com';
var subj= 'hellow';
var e_body= 'Found some information on '
var about= document.title + " at the following
address";
var elink= " " + document.location ;
window.location="mailto:"+e_add+"?
subject="+subj+"&body="+e_body+about+elink;
alert("ADF");
}
</SCRIPT>
</body>

</html>

Sincerely yours
Mike John

Nov 17 '05 #1
1 2527
Hi,

window.document.body.innerHTML or window.document.body.innerText

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Bill Petrol | last post by:
I'm trying to send a link with a querystring as the body of an email message. My HTML syntax looks something like this: <a href="mailto:xxx@yyy.com?Subject=<? print $subject ?>&Body=<? print...
4
by: tp | last post by:
HI... I have created simple .asp page and i would like to send my page as email using my outlook . is it possible to send form body as new email outlook body using mailto command or any other...
7
by: Steve Wright | last post by:
Can someone please tell me why the following code generates a new page with "mailto:wright@wcc.govt.nz"?Subject= "RAMM Record Carriageway Resurfacing Record" Method="POST" enctype="text/plain" ...
5
by: Olaf | last post by:
I have a ASP page that after saveing data to the database it will write the following script code to the page: <script>...
2
by: Joe W Larson | last post by:
I've been up and down trying to figure this one out with no luck. Is it possible to have a mailto link or some other way with Javascript that can send the HTML content of the current page or of an...
5
by: timjowers | last post by:
Hi, I'm attempting to send a mailto: and include a link in the body. Has anyone done this? Also, has anyone done mailto: with Lotus Notes 6.5? It will place the body in the subject line if it...
6
by: 35th Ave Media | last post by:
Hello, I have about 60+ pages that I need to insert a MAILTO: tag so people can email the page using their email client. The body of the message is going to be the URL of that page. Using ASP,...
15
by: tshad | last post by:
I am trying to put an persons email address in a response I am sending another person. I can get it to work by doing the following: message.Body = resumeTop & vbCrLf & vbCrLf & "For Applicant:...
3
by: Brian | last post by:
Hi, I want to issue mailto from one of my pages. Basically to drop contact information from a from to the body of the email and have the user enter the desired address to send it to. I thought...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.