Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple "email a page" functionality?

 
Ben Scholey
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'd like to add the functionality of "email a page" on my site, but without using "mailto". (I'm assuming people browsing my site may not have mail clients configured).

Can anyone suggest the easiest way to set up a simple form to mail the URL (not the content) of a page to an email address.

Thanks in advance

Ben
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Except for mailto there's not much you can do on the client side in pure HTML/Javascript. You need to use some server-side capability to send emails.
 
Ben Scholey
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is on a JSP server.. Any more ideas?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search for "Java Mail API" on Google for a start

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JavaMail api is discussed within our Other Java APIs forum. You might find what you seek there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic