Witam
jestem trochę zielony, więc nie niszczcie mnie od razu

. Mam takie pytanie jak wysłać maila za pomocą skryptu php. Mam win7x64 na wirtualnej maszynie (nie wiem też jaki to będzie miało wpływ), niby wszystko działa dodaję sobie rekordy do bazy itd itp, ale nie można wysłać maila, choćby za pomocą prostego kodu
<?php
if(mail('xxxxxx@xx.pl', 'Witaj', 'Oto test funkcji mail')) {
echo 'Wiadomość została wysłana'; }
?>
Czy mam coś zmienić w php.ini w mail fuction?
; For Win32 only.
; <a href="http://php.net/smtp" target="_blank">http://php.net/smtp</a>
SMTP = localhost
; <a href="http://php.net/smtp-port" target="_blank">http://php.net/smtp-port</a>
smtp_port = 25
; For Win32 only.
; <a href="http://php.net/sendmail-from" target="_blank">http://php.net/sendmail-from</a>
sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; <a href="http://php.net/sendmail-path" target="_blank">http://php.net/sendmail-path</a>
;sendmail_path =
; 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
; The path to a log
file that will log all
mail() calls
. Log entries
include ; the full path of the script, line number, To address and headers.
;mail.log =
i czy jest jakaś inna łatwiejsza możliwość przesyłania maili?