If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 2004
    Member #
    I have created an html invitation that is on my website and that I am also using as a signature.

    I have code in it for "mailto:" but I would also like to be able to activate the "forward to a friend" with a similar type of emial command. All I have be able to come up with is a plain text version.

    please visit, press on the "forward to a friend" and you will understand my question better.

    I would like the result to be that the exact page is displayed with them having to click forward in their e-mail program.

    I am stumped! Please e-mail me @


  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Maryland, US
    Member #
    21 times
    Quote Originally Posted by synergy
    I am stumped! Please e-mail me[/email]
    It is detremential to the community to request that your problem be solved through private channels. Please accept replies through this forum only.
    filburt1, Web Design founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Junior Member Spatter9999's Avatar
    Join Date
    Oct 2004
    Little Elm, TX
    Member #
    Can't say that this is the easiest way... but if you have php support...

    I would create a form that lets them enter their friends email address and their own email address. Have that form post the data (name the input fields "myemail" and "friendemail") to a file called submit.php or something like that.

    Create submit.php like any other HTML file, but have it contain this text:

      $headers = "From: $myemail>\r\n";
      $headers .= "MIME-Version: 1.0\r\n";
      $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
      $subject = "You're invited to a Halloween Party!";
      $messagebody = "<html><head></head><body>";
      $messagebody .= "Put your HTML invitation here.<br />";
      $messagebody .= "Continued HTML invitation here.<br />";
      $messagebody .= "</body></html>";
    Essentially, the variable called messagebody is a long string filled with your html invitation. Keep in mind that you will have to use delimiters in your html code so that the php compiler will not interpret the quotation marks. Basically, put a backslash in front of all quotation marks.

    For example, if you want to include a line of HTML that looks like:

    <img src="" width="100">
    You would add this to the messagebody variable like this:

    $messagebody .= " <img src=\"\" width=\"100\"> ";
    Don't worry. If you've never used php before, it's not really as scary as it might look.
    Kris McCoy
    Website Designer/Developer
    Spatter's Web Design Services

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search tags for this page

html forward to command

Click on a term to search for related topics.
All times are GMT -6. The time now is 02:30 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: