Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How can I send the page in the body of email.

Reply
Thread Tools

How can I send the page in the body of email.

 
 
Mike John
Guest
Posts: n/a
 
      07-06-2003
I want to send the page in the body of the email , just
like the functionality of the send page in the browser
explorer .

I have tried the following systax
<html>
<body>
<input type ="Button" onclick= "eman()">


<SCRIPT language=javascript>
function eman()


{
var e_add= '(E-Mail Removed)';
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=" + escape(document.location);
alert("ADF");
}
</script>


</body>

But I don't want to send the url , I want send the actual
page in the body of email


Sincerely yours

Mike John

 
Reply With Quote
 
 
 
 
dave wanta
Guest
Posts: n/a
 
      07-06-2003
Hi Mike,
That is client side code.

You will need to screen scrape the page, and then, using System.Web.Mail,
send the email message.

Cheers!
Dave
www.aspNetEmail.com/examples.aspx


"Mike John" <(E-Mail Removed)> wrote in message
news:01fa01c343f8$bb564750$(E-Mail Removed)...
> I want to send the page in the body of the email , just
> like the functionality of the send page in the browser
> explorer .
>
> I have tried the following systax
> <html>
> <body>
> <input type ="Button" onclick= "eman()">
>
>
> <SCRIPT language=javascript>
> function eman()
>
>
> {
> var e_add= '(E-Mail Removed)';
> 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=" + escape(document.location);
> alert("ADF");
> }
> </script>
>
>
> </body>
>
> But I don't want to send the url , I want send the actual
> page in the body of email
>
>
> Sincerely yours
>
> Mike John
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
To reduce your body weight & slim your body Loss weight MCSA 0 07-23-2007 07:54 PM
To reduce your body weight & slim your body Loss weight MCSA 0 07-21-2007 05:15 AM
all the text (including tags) between <body> .. </body> tarakparekh@yahoo.com Perl Misc 5 09-07-2005 11:40 PM
Send document.body.unbeforeunload event from Server-Side ??? Oney ASP .Net 0 06-21-2004 05:31 PM
Not detecting body.scrollTop and body.scrollLeft in IE6 London Boy Javascript 2 01-12-2004 08:44 AM



Advertisments