Results 1 to 3 of 3

Thread: mailto
      
   

  1. #1
    ali
    ali is offline Corporal
    Join Date
    Jul 2005
    Posts
    17

    Exclamation mailto

    Hi,

    Anybody knows to use mailto in PHP with the following parameters:

    $to, $subject, $body, $headers

    and put in php code like

    <?php

    mailto .....

    ?>

    Help. Thanks.

  2. #2
    Pablo is offline Moderator
    Join Date
    May 2005
    Posts
    507

    Default

    Forum Moderator
    BlueVoda Specialist

  3. #3
    jabird60's Avatar
    jabird60 is offline Sergeant First Class
    Join Date
    Feb 2006
    Posts
    57

    Default Re: mailto

    yes i do and here is the script you need

    <HTML>
    <HEAD>
    <TITLE>Your Registration Form Has Been Sent</TITLE>
    </HEAD>
    <BODY>
    <H2>What you want peple to see when they click submit<H2>

    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "Put Voda Host Email Address Here ";
    $mailsubj = "What you want the subject to be here";
    $mailhead = "From: $email\";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form:\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    $mailbody .= "$key : $val\n";
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    ?>
    </BODY>
    </HTML>
    just copy this into notpad and save it a "What you want".php

    if you need any more help just post agan
    correct the words in red

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. mailto query
    By fhbooker in forum BlueVoda - General Issues
    Replies: 2
    Last Post: 10-20-2005, 05:54 PM

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49