Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Mały kłopot z funkcją mail()
#11
Podbijam.. Pomóżcie eksperci!
Odpowiedz
#12
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!
Odpowiedz


Podobne wątki…
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  Funkcja mail () - tryb odpowiedzi. pawstrze 1 2,299 20-12-2012, 00:14
Ostatni post: Pedro84
  Funkcja mail() - odświeżanie strony pawstrze 6 5,389 12-12-2012, 02:05
Ostatni post: andrzejhi
Toungue Funkcja w funkcji Radian 5 3,448 24-08-2012, 17:38
Ostatni post: Radian
  [PHP] Funkcja rekurencyjna dla drzewa binarnego Stap1989 1 1,773 11-08-2012, 22:30
Ostatni post: Marys
Question Przekazanie wyników z bazy danych przez funkcję mail atrapa 2 2,799 15-11-2011, 23:16
Ostatni post: atrapa

Skocz do:


Użytkownicy przeglądający ten wątek:
Sponsorzy i przyjaciele
SeoHost.pl