---
title: "Sendmail path not defined!"
url: "https://www.typo3.net/d/60306-sendmail-path-not-defined"
source: "typo3.net"
tags: ["Allgemein","Frage"]
created: "2007-03-30"
last_reply: "2007-03-30"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Sendmail path not defined!

Allgemein · 1 Antwort · gestartet 2007-03-30

## Eröffnungsbeitrag

**w_progger** · 2007-03-30 · [Beitrag #1](https://www.typo3.net/d/60306-sendmail-path-not-defined/1)

Guten Morgen!

Ich habe auf meinem Windows Server von 1&1 einen SMTP eingerichtet und konfiguriert!

Meine php.ini im Apache verzeichnis
sieht wie folgt aus:
[mail function]
; For Win32 only
SMTP = localhost
smtp_port = 25
sendmail_from = server@xy.local

und wenn ich eine Mail z.B. durch einF ormular verschicken möchte, wird mir folgendes gemeldet:
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\temp\xampp\htdocs\t3lib\class.t3lib_div.php on line 4140
bzw.

Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\temp\xampp\htdocs\test\mail.php on line 2

Hat jemand eine Idee, woran es liegen kann?

Gruß w_progger

## Antworten

### [#2](https://www.typo3.net/d/60306-sendmail-path-not-defined/2) · w_progger · 2007-03-30

Ach habe ich vergessen
PHP Info sagt mir dazu noch

SMTP = localhost
smtp_port = 25
sendmail_form = no value

kann mir vll. jm. sagen, wie ich den Sendmail_form aktiviere?

Danke!

---

Quelle: „Sendmail path not defined!“, typo3.net, https://www.typo3.net/d/60306-sendmail-path-not-defined
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
