Wie aktiviere ich das XAMPP um lokal die php mail () - Funktion, so kann ich testen, meine E-mail () - Skripte lokal, ohne upload auf meinen server?

Ich bin derzeit mit XAMPP und Thunderbird 3 und möchte auf meinen lokalen server, um E-mail senden e-mails, wie gmail/hotmail/(anymail), so kann ich testen meiner php-Skripte, die mit der mail () - Funktion. Es würde etwas Zeit sparen, wie es wäre, umgehen den Schritt der mühsam speichern und hochladen der php-Datei jedes mal, wenn eine kleine änderung vorgenommen wird.

Dinge, die ich getan habe, aber hat nicht funktioniert: (, durch die verschiedenen vorhandenen tutorials online)


  1. XAMPP installiert (erfolgreich installiert, als ich bereits benutze diese für meine anderen arbeiten)
  2. Installiert Quecksilber für XAMPP
  3. In Quecksilber

a. click on Configuration -> Manage Local Users
b. Create New User

          Username: **root**
          Password: **root**
c. click on Configuration -> Mercury SMTP
d. make the following changes

          IP Interface to use: **127.0.0.1**
          Listen to TCP/IP port: **25**
          Announce Myself as: **127.0.0.1**
e. click on Configuration -> Mercury POP 3
f. make the following changes

          Listen to TCP port: **110**
          IP Interface to use: **127.0.0.1**
g. click on Configuration -> MercuryE SMTP client Configuration
h. make the following changes

          Identify Myself as: **127.0.0.1**
          Name server: **127.0.0.1**
i. click on Configuration -> Mercury D pop3 client
j. make the following changes

          POP3 Host: **127.0.0.1**
          Username: **root**
          Password: **root**

4. Installierte Thunderbird 3
5. In Thunderbird


a. click on Tools -> Account Settings
b. In Account Settings

    i. click on Account Actions -> Add Mail Account
    ii. In Add Mail Account

        Your name: **root**
        Email address: **root@localhost.com**
        Password: **root**
    iii. click next
    vi. under Editing Config set as following

        Username: **root**
        Incoming: 127.0.0.1   POP/IMAP
        Outgoing: 127.0.0.1   SMTP
    v. click Create Account
c. send test mail to myself (this part doesn't work for me, it says mail sent successfully but when I check inbox in Thunderbird, there is no mail.)

4. Test-PHP mail () - Skript (ich habe nicht bekommen, um diesen Schritt noch nicht, wie ich noch nicht in der Lage, erfolgreich einrichten eines lokalen E-mail-server.)

  • localhost.com? Versuchen localhost. Auch, wo Sie das E-mail senden?
InformationsquelleAutor Simon Suh | 2010-12-20
Schreibe einen Kommentar