daviskrex Posted February 26, 2009 Report Share Posted February 26, 2009 Sveiki, man ir problēma, Hostēju savu lapiņu uz hostinga, Hostingam nav iestatīts smtp serveris @ php.ini, drošības apsvērumu dēļ, lai nespamo... Lieta tāda, ka dzirdēju, ka šo smtp serveri var norādīt htacess failā, taču neatradu kā īsti to izdarīt... Nežēlīgi vajag, lai strādātu mail() funkcija... Mēģināju arī tādu skriptu kā PHP MAILER, kas uzvedās dīvaini, localhostā man sūtija visus mailus, bet tur - meta errorus... Varbūt kāds no jums var dot man kādu padomu? Paldies jau iepriekš. Quote Link to comment Share on other sites More sharing options...
Kavacky Posted February 26, 2009 Report Share Posted February 26, 2009 Paprasīt hostinga adminam nevar, lai tev uzkonfigurē ar ejošu epastu? Quote Link to comment Share on other sites More sharing options...
daviskrex Posted February 26, 2009 Author Report Share Posted February 26, 2009 (edited) Ekonomiskā krīze, naudiņa jātaupa ... Šāda konfigurācija ir par atsevišķu samaksu... :/ Edited February 26, 2009 by daviskrex Quote Link to comment Share on other sites More sharing options...
marcis Posted February 26, 2009 Report Share Posted February 26, 2009 Man kaut kā šķiet, ka cīnīties ar spamojošiem klientiem vajadzētu savādāk, nevis vienkārši nogriezt smtp/sendmail. ini_set("SMTP","smtp.serveris"); ini_set("smtp_port",25); Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted February 26, 2009 Report Share Posted February 26, 2009 Piezīme: smtp servera uzstādījums darbosies tikai Windows vidē: SMTP stringUsed under Windows only: host name or IP address of the SMTP server PHP should use for mail sent with the mail() function. smtp_port int Used under Windows only: Number of the port to connect to the server specified with the SMTP setting when sending mail with mail(); defaults to 25. Only available since PHP 4.3.0. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.