473,698 Members | 2,556 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Email a web page

Jarquesz
1 New Member
I need to email a web page with its content.
The user should be able to click on the "email this page button" and then it should open in a new email message with all the body text of the web page in the email.
Can anyone please assist with this.
Aug 28 '07 #1
2 1254
dmjpro
2,476 Top Contributor
I need to email a web page with its content.
The user should be able to click on the "email this page button" and then it should open in a new email message with all the body text of the web page in the email.
Can anyone please assist with this.

Welcome to TSDN.
Actually mailing a Web Page you need to do coding on Server Side.
But it is JavaScript Forum.
Using which Technology you want to implement that code.
Mens J2EE or .Net or something else?
Please mention that and post your problem on that particular Forum.
Experts will be there to solve your problem.
Ok.

Kind regards,
Dmjpro.
Aug 28 '07 #2
pbmods
5,821 Recognized Expert Expert
Heya, Jarquesz. Welcome to TSDN!

You COULD do this:
Expand|Select|Wrap|Line Numbers
  1. window.location.href = 'mailto:' + email + '?body=' + encodeURIComponent(theHTML);
  2.  
Aug 28 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1449
by: Theo | last post by:
hi all, a quick question... been doing a bunch of reading this morning, the web and here, and am curious whether or not an html/php page that is displayed on the screen (with unique information) can also be sent via email without actually having to go through and have another page recreate the page using the $header = "this", $header .= "that" process? Im thinking, php creates the page the standard way, the last part of it would send the...
1
3108
by: Ann Leland | last post by:
I have been using session variables to pass a user name from one ASP page to another inside framesets for 9 months and it stopped working this week. I have made no code changes but there was a "security update" installed on the server a few days ago but I can't find out exactly what it was. In the research I have done I found many articles on the subject of session variables in ASP pages inside framesets. From what I read a new...
16
9530
by: TJO | last post by:
I am trying to pre populate an email body using javascript. I cannot figure out how to control the carraige returns for the text. The standard \r\n is not working. Is there another technique I can try?
2
2261
by: timjowers | last post by:
Searched through sourceforge to no avail. Ideas? Requirement: 1. Lists users from LDAP 2. Allows multiple selection as well as free text entry 3. Has To, CC, and BCC lists. 4. Message and subject can be configured programatically. 5. Returns mail object or else sends to SMTP server. 6. Handles errors robustly with good user feedback. 7. Easy to call from a web page. That is, is either an applet or,
3
1683
by: kifo | last post by:
i have created an email page using cdo and another one using JMail ... i want to load my pages to the ISP so that it could be viewed to the public ... i know i have to register a domain name but do all sites support ASP and cdo or JMail. Also what changes i have to do to my ASP code for both pages?
4
2084
by: MostlyH2O | last post by:
Hi Folks, I have been going in circles for weeks - trying to find the best way to send and manage emails from my ASP application. The email page might send as many as 500 individual emails at a time. The emails are in the user database for the website. It's used for sending group notices and passwords to the members. I'm currently using CDONTS - which works ok - although it is very slow to send 500 emails. (each email is customized...
2
1500
by: Rico | last post by:
Hello, I'm using formmail.asp which is an emailing utility. Basically, the user fills out a request page, clicks "Submit" and the page posts to formmail.asp which emails the user information. I'm running IIS5 on a Win2k server box and recently ran the Windows Updates (the last time I do that). Anyway, that emailing form doesn't work now on any of the sites I host. Any ideas?
16
3145
by: whyyyy | last post by:
The script below works fine if the form is filled out and submitted. But a (blank) e-mail is sent whenever the page loads, even when the form is not submitted. I would like to receive the e-mail only when the form is submitted <%@LANGUAGE="VBSCRIPT"%> <% Set MyMail=CreateObject("CDO.Message")
1
1266
by: Info_Junkie | last post by:
I access the group through Google Groups. I know how many hate that. Even so I like it, as our ISP account has bad customer service and we cannot get the setup thru Outlook Express to work to access newsgroups that way. My issue is this: with all the other newsgroups the messages are separate on each line. I click on a message and it opens in a new window. Not so with this group. The "dot" in the name of the links seems to mess it...
0
1401
by: david220 | last post by:
hi once members sign up to my site they get sent an email which contains there username/password which they enter on a sign up form. Once they've signed up the email is automatically sent using the code below. The site uses classic asp and vbscript, with the email bit in cdonts. I recently changed hosts and they use cdosys. I have used cdosys email before but are'nt sure how to get it to connect to the asp bits they enter on the sign...
0
8683
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8609
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8871
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7739
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.