TheNose
31.01.07, 07:50
Hallo!
Auf meinem Webserver läuft sSMTP, der meine Mails über meinen SMTP-Server versenden soll. Wenn ich über Konsole ssmp aufrufe kann ich ohne Probleme Mails versenden. Auch wenn ich ein php-Script auf der Konsole aufrufe versendet es mir ohne Probleme Mails.
Nur wenn ich ein php-Script über den Browser aufrufe versendet es keine Mails.
Hat jemand eine Idee, woran das liegen könnte?
Ich verwende Ubutnu 6.06 .
Meine php.ini sieht so aus:
[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 = /usr/sbin/ssmtp
; 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 =
In den error.logs von Apache steht:
ssmtp: No recipients supplied - mail will not be sent
ssmtp: No recipients supplied - mail will not be sent
ssmtp: No recipients supplied - mail will not be sent
Auf meinem Webserver läuft sSMTP, der meine Mails über meinen SMTP-Server versenden soll. Wenn ich über Konsole ssmp aufrufe kann ich ohne Probleme Mails versenden. Auch wenn ich ein php-Script auf der Konsole aufrufe versendet es mir ohne Probleme Mails.
Nur wenn ich ein php-Script über den Browser aufrufe versendet es keine Mails.
Hat jemand eine Idee, woran das liegen könnte?
Ich verwende Ubutnu 6.06 .
Meine php.ini sieht so aus:
[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 = /usr/sbin/ssmtp
; 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 =
In den error.logs von Apache steht:
ssmtp: No recipients supplied - mail will not be sent
ssmtp: No recipients supplied - mail will not be sent
ssmtp: No recipients supplied - mail will not be sent