Kefiirs Posted July 30, 2008 Report Share Posted July 30, 2008 Karoči man mailserveris ir MAIL Es php.ini viņu ieliku SMTP = MAIL Uzcepu e-pastu sūtīšanas skriptu, viss iet, parāda ka mails nosūtīts, bet mails nepienāk! Kas tas pa gļuku? Link to comment Share on other sites More sharing options...
Pentiums Posted July 31, 2008 Report Share Posted July 31, 2008 parādi skriptu Link to comment Share on other sites More sharing options...
andrisp Posted July 31, 2008 Report Share Posted July 31, 2008 Tev ir smtp serveris ar nosaukumu MAIL ? Esi pārliecināts ? Link to comment Share on other sites More sharing options...
Kefiirs Posted July 31, 2008 Author Report Share Posted July 31, 2008 Man ir 2 MAIL serveri, abi ir nano.lv domēna pārvaldes panelī! Pirmais: NAME: jackmetal.lv. TYPE: MX mail server Address ir domain name: MAIL Priority: 10 Otrais: NAME: jackmetal.lv. TYPE: MX mail server Address ir domain name: b.mx.nano.lv Priority: 20 Link to comment Share on other sites More sharing options...
bubu Posted July 31, 2008 Report Share Posted July 31, 2008 Komandrindā uzrakstot "ping mail" (bez pēdiņām) viss normāli pingojas? Link to comment Share on other sites More sharing options...
Kefiirs Posted July 31, 2008 Author Report Share Posted July 31, 2008 (edited) Jā, pilnīgi nekāda packu zudunma nav :) + vēl mans MAIL skripts <html> <body> <?php function spamcheck($field) { //filter_var() sanitizes the e-mail //address using FILTER_SANITIZE_EMAIL $field=filter_var($field, FILTER_SANITIZE_EMAIL); //filter_var() validates the e-mail //address using FILTER_VALIDATE_EMAIL if(filter_var($field, FILTER_VALIDATE_EMAIL)) { return TRUE; } else { return FALSE; } } if (isset($_REQUEST['email'])) {//if "email" is filled out, proceed //check if the email address is invalid $mailcheck = spamcheck($_REQUEST['email']); if ($mailcheck==FALSE) { echo "Invalid input"; } else {//send email $email = $_REQUEST['email']; $subject = $_REQUEST['subject']; $message = $_REQUEST['message']; mail("someone@example.com", "Subject: $subject", $message, "From: $email" ); echo "Thank you for using our mail form"; } } else {//if "email" is not filled out, display the form echo "<form method='post' action='lol.php'> Email: <input name='email' type='text' /><br /> Subject: <input name='subject' type='text' /><br /> Message:<br /> <textarea name='message' rows='15' cols='40'> </textarea><br /> <input type='submit' /> </form>"; } ?> </body> </html> Edited July 31, 2008 by Kefiirs Link to comment Share on other sites More sharing options...
Grey_Wolf Posted July 31, 2008 Report Share Posted July 31, 2008 uzraksti apsaluuti primitivu skriptu.. tb. skriptu kas nosuuta kautko uz tavu adresi un adgriezj rezultatu ... echo mail(.....) ... un paskaties kas notiek ... Link to comment Share on other sites More sharing options...
NBS Posted August 2, 2008 Report Share Posted August 2, 2008 Btw: http://paste.php.lv/7756?lang=php Link to comment Share on other sites More sharing options...
Recommended Posts