XaraX: mail() tuts nicht

Beitrag lesen

Hallo dedlfix,

» Die beiden einzigen Einträge, die ansatzweise was mit Mailversand zu tun haben sind "SMTP = localhost" und "smtp_port = 25". Ob das nun bedeutet, dass ich Mails versenden kann, weiß ich nicht.

Das bedeutet, dass PHP sich dazu an das auf selben Server befindliche Mailversandprogramm wendet.

Zitat der php.ini-recommended

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;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 =

Bei einem Hoster von Windows auszugehen, halte ich schlichtweg für aberwizig.

Gruß aus Berlin!
eddi