Jump to content
php.lv forumi

web mail


xfr33

Recommended Posts

mail( "xfr33@inbox.lv", "Pasūtījums",
"Firmas nosaukums = $email, Vards, uzvards = $name, Kontaktinformacija = $info, Prece = $prece", "From: $email" );

 

Nu, te ir kāda kļūda?? Man liekas ka nav!

Link to comment
Share on other sites

  • Replies 47
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

Link to comment
Share on other sites


×
×
  • Create New...