Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5970637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:24:13+00:00 2026-05-22T20:24:13+00:00

I want a button that does not just use a mailto: link. I want

  • 0

I want a button that does not just use a mailto: link. I want it to make either a popup, overlay or new window which has a simple form which allows anyone to email the link of the page they are on to another friend, with the subject and content pre-filled but editable.
Something similar to how you can do it on google maps by clicking “Send”

I thought this would be simple to find and I would be amazed if no-one has made some sort of easy javascript plugin or something.

I would rather not use something like “addthis” or other similar sharing aggreator service.

I have looked around here and scoured google but cannot find anything. If I missed a topic or if there is a good tutorial it would be much appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:24:14+00:00Added an answer on May 22, 2026 at 8:24 pm

    What you are asking for is only possible with server side code. Your server will need to have access to a mail server so that it can compose and send on behalf of your user. This has most definitely been prebuilt, but you will need to let us know what server side language you are using before someone can point you to a solution. If you don’t understand server side code then you will have to resign yourself to using a mailto: link or a third party service.

    UPDATE – Example

    In your HTML

    <form action="http://mysite.com/sendemail.php" method="post" name="myform" >
        <input name="from" type="text" value="me@mysite.com" />
        <input name="to" type="text" value="me@mysite.com" />
        <input name="subject" type="text" value"Subject" />
        <input name="body" type="text" value="Hello World" />
    </form>
    

    In your PHP file

    $from = $_POST['from'] ;
    $to = $_POST['to'];
    $subject = $_POST['subject'] ;
    $body = $_POST['body'] ;
    mail($to, $subject, $body, "From:" . $from);
    

    Because the form is set to method POST you can access each form element by its name and the _POST variable. So $_POST[‘from’] get the form elements whose name = “from”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Login button that I want to be disabled until 3 text
I want to have a button on my toolbar that has a little down
I want to load the data into session so that when the next button
I want to use a spin button control (also known as an up-down control)
I want do something like this: Button btn1 = new Button(); btn1.Click += new
I want to show a chromeless modal window with a close button in the
I want to use a temp directory that will be unique to this build.
Ok this might be simple or just not possible. Probably it's something that is
I have a simple WPF window that has 12 buttons on it. I want
I don't want to use css to expand the link width/height etc. With my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.