Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [inne]jak ustawic xampp żeby działała funkcja mail
lnn
post
Post #1





Grupa: Zarejestrowani
Postów: 361
Pomógł: 11
Dołączył: 17.12.2008
Skąd: LU

Ostrzeżenie: (0%)
-----


witam

mam mały problem, zainstalowalem sobie do XAMPP 1.7.2 serwer poczty Mercury, utworzylem dwa konta
admin@localhost
newuser@localhost

jak skonfigurowac php zeby dało sie korzystac z funkcji mail??
czy trzeba cos wpisac w php.ini, czy gdzies indziej? smile.gif
niby w php.ini probowalem ale cos nie wychodzi ;/

w tej chwili wyskakuje mi takie cos:
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing

Ten post edytował lnn 29.11.2009, 12:10:26
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 4)
Siper
post
Post #2





Grupa: Zarejestrowani
Postów: 60
Pomógł: 1
Dołączył: 25.04.2009

Ostrzeżenie: (0%)
-----


znajdź w pliku php.ini

  1. ;extension=php_smtp.dll


Usuwasz z niej srednik na początku

Ten post edytował Siper 29.11.2009, 12:14:06
Go to the top of the page
+Quote Post
lnn
post
Post #3





Grupa: Zarejestrowani
Postów: 361
Pomógł: 11
Dołączył: 17.12.2008
Skąd: LU

Ostrzeżenie: (0%)
-----


hmm nie mam czegos takiego, jest tylko do maila takie cos:

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

; For Win32 only.
; http://localhost
;sendmail_from = admin@localhost

Ten post edytował lnn 29.11.2009, 12:20:15
Go to the top of the page
+Quote Post
Siper
post
Post #4





Grupa: Zarejestrowani
Postów: 60
Pomógł: 1
Dołączył: 25.04.2009

Ostrzeżenie: (0%)
-----


A spróbowałeś ją dopisać?
Go to the top of the page
+Quote Post
lnn
post
Post #5





Grupa: Zarejestrowani
Postów: 361
Pomógł: 11
Dołączył: 17.12.2008
Skąd: LU

Ostrzeżenie: (0%)
-----


prosze o zamkniecie tematu, doszedlem o co chodzi dzieki:

http://roshanbh.com.np/2007/12/sending-e-m...nvironment.html




Ten post edytował lnn 29.11.2009, 14:01:06
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 08:36