How to add "send this webpage to a friend"

They have: 80 posts

Joined: Feb 2003

Hihi

As the title suggest , I have a few items on my website and they opens in their own window when they are clicked, I wanted to have a button that will send the particular webpage to someone like "send this to a friend" possibly without having to open a email client, but if its 2 complicated i ll settle for that .

Many thx

They have: 29 posts

Joined: Feb 2004

check out hotscripts.com

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

To have it send to a friend, you'll have to collect the information through your website (usually with a database or similar) and then mail from your server. This requires sendmail or equiv to be installed and functional and server-side scripting.

They have: 80 posts

Joined: Feb 2003

ouch , not what i expected , thx a mill Suzanne, can i actually configure the page instead to open outlook express with the appropriate fields already fill in? like passing the the form fields?

thx

Busy's picture

He has: 6,151 posts

Joined: May 2001

Some browsers you can preset the subject and part of the message but newer browsers no longer allow this.

If your getting the email client to pop up, your using a mailto tag, so you'd need something like:

Email them

Just remember it wont always work, and if the persons default email client is netscape or yahoo or something they may not get anything.

Perfered method is server side, PHP, ASP or something.

They have: 80 posts

Joined: Feb 2003

Thx busy , can u actually embed or attach a picture automatically using this method?

so i can just fill out the email address on me outlook and send it.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

nooo, you can't send attachments without server-side processing.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.