Results 1 to 6 of 6

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Apr:2013
    Location:
    Posts: 37

    E-Mail localhost-a ?

    , E-Mail localhost ? . SMTP , VIVACOM (25) , ? ?

  2. #2
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    , Windows hMailServer , .
    ( , HOSTS , ) , , .
    , , , SPAM . - , . 25, , .
    , SPAM , . .

  3. #3
    Registered User
    Join Date: Apr:2013
    Location:
    Posts: 37
    Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\AppServ\www\mail.php on line 3 *********@abv.bg ?

  4. #4
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    .
    php.ini, From: () . From: , .

    "" , PHP-...

  5. #5
    Registered User
    Join Date: Apr:2013
    Location:
    Posts: 37
    , ABV-.
    PHP Code:
    <?php

    if(isset($_POST['sendmail'])){
      
    //         
      
    $name $_POST['name'];
      
    $email $_POST['email'];
      
    $msg $_POST['msg'];

      
    //    
      
    if($name == ""){ echo "   !"; }

      
    //   
      
    elseif($email == ""){ echo "   e-maila"; }

      
    //  
      
    elseif($msg == ""){ echo "   "; }

      
    //     
      
    else{
        
    $msg2 "$name     :\n\n$msg\n\n : $email";
        if(
    mail("admin@muzikalni.com""- "$msg2"From: $email\r\nReply-to: $email\r\n")){
          echo 
    "   !";
        }else{ echo 
    "   !"; }
      }
    }

    ?>

    <form method="post" action="mail.php">
    : <input type="text" name="name" /><br />
    E-mail: <input type="text" name="email" /><br />
    : <textarea name="msg" cols="50" rows="6"></textarea><br />
    <input type="submit" name="sendmail" value="" />
    </form>
    , ... , , abv- ...

  6. #6
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    , 3 , .

Posting Permissions

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

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |