nu vsjo esmu aizgājis sviestā....
tātad php.ini
[mail function]
; For Win32 only.
SMTP = srv14.000webhost.com
smtp_port = 25
; For Win32 only.
;sendmail_from = xfr33@inbox.lv
Kļudas apraksts
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 <xfr33@inbox.lv>... we do not relay <> in C:\WEB\htdocs\send.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at C:\WEB\htdocs\send.php:8) in C:\WEB\htdocs\send.php on line 9
un send.php
<?php
$email = $_REQUEST['email'];
$name = $_REQUEST['name'];
$info = $_REQUEST['info'];
$prece = $_REQUEST['prece'];
mail( "xfr33@inbox.lv", "Pasūtījums",
"Firmas nosaukums = $email, Vards, uzvards = $name, Kontaktinformacija = $info, Prece = $prece", "From: $email" );
header( "Location: http://www.google.lv" );
?>
NEKO NESAPROTU VAIRĀK :@ :D