Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów
Mały kłopot z funkcją mail() - Wersja do druku

+- Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów (https://www.webmastertalk.pl)
+-- Dział: Technologie internetowe - tworzenie stron WWW (https://www.webmastertalk.pl/forum-technologie-internetowe-tworzenie-stron-www)
+--- Dział: Programowanie, Bazy danych (https://www.webmastertalk.pl/forum-programowanie-bazy-danych)
+--- Wątek: Mały kłopot z funkcją mail() (/thread-maly-klopot-z-funkcja-mail)

Strony: 1 2


RE: Mały kłopot z funkcją mail() - Jozeph - 19-08-2010

Podbijam.. Pomóżcie eksperci!


RE: Mały kłopot z funkcją mail() - Jozeph - 20-08-2010

No więc Panowie czekałem i czekałem, aż wkońcu sam to znalazłem Tongue Dla potomnych:

instalujemy jakiś darmowy serwer pocztowy. Polecam:
Kod:
1st Mail server
Tylko, że trial niestety.. A jeśli coś innego to prosze sobie wybrac Smile:

http://www.emailman.com/win/servers.html

W php.ini ustawiamy:

Kod:
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
sendmail_from =

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path = "\"\xampp\sendmail\sendmail.exe\" -t"

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =

; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = Off

; Log all mail() calls including the full path of the script, line #, to address and headers
;mail.log = "\xampp\apache\logs\php_mail.log"

W 1st mail server jest bardzo łatwa konfiguracja bo wystarczy wpisać w zakładce GATEWAYS nasz adres IP, PORT (25), jakiegos usera i haslo.. i smiga bez problemu Smile Pozdrawiam!