SMTP Settings in php.ini funktionieren nicht

Hi, am besten nutzt du PHPMailer, der ist leicht zu verstehen und bringt ein paar schöne Funktionen mit.
https://github.com/PHPMailer/PHPMailer

Was steht der in der Serverlog? welcher Fehler wird dort ausgeworfen?
Welches Linux nutzt du? Ist exim Installiert?
Hast du Sendmail mal neu installiert?
Gruß

Das lässt sich auch nicht installieren.
1. Versuch mit dem Composer über die in GITHUB angegebene composer.json

Code:
n00n@lubuntu-dev:/var/www/projects/MyProjectsName/libraries/phpmailer$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - phpdocumentor/phpdocumentor v2.0.0 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.0.1 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.1.0 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.2.0 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.3.2 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.4.0 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.5.0 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.6.0 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.6.1 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.7.0 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.7.1 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.8.0 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.8.1 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.8.2 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - phpdocumentor/phpdocumentor v2.3.1 requires dompdf/dompdf dev-master@dev -> no matching package found.
    - phpdocumentor/phpdocumentor v2.3.0 requires dompdf/dompdf dev-master@dev -> no matching package found.
    - phpdocumentor/template-zend 1.3.2 requires ext-xsl * -> the requested PHP extension xsl is missing from your system.
    - phpdocumentor/template-zend 1.3.1 requires ext-xsl * -> the requested PHP extension xsl is missing from your system.
    - phpdocumentor/template-zend 1.3.0 requires ext-xsl * -> the requested PHP extension xsl is missing from your system.
    - Installation request for phpdocumentor/phpdocumentor * -> satisfiable by phpdocumentor/phpdocumentor[v2.0.0, v2.0.1, v2.1.0, v2.2.0, v2.3.0, v2.3.1, v2.3.2, v2.4.0, v2.5.0, v2.6.0, v2.6.1, v2.7.0, v2.7.1, v2.8.0, v2.8.1, v2.8.2].

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

2. Versuch das direkt zu clonen macht Probleme wegen autoloader (Müsste dann die ganzen Abhänigkeiten raussuchen)
 
Hi,

lade dir das dirket runter https://github.com/PHPMailer/PHPMailer/archive/master.zip
Lade es auf deinem Server hoch, schaue im Ordner "examples" dort hast du beispiele, bei dir smtp.phps

Ich bin etwas verwundert sendmail sollte eig. schon Installiert sein ferner hätte er es beim Insterlieren von Apache machen sollen. Ich kann hier per Froum keine fern Diagnose stellen warum sendmail solche fehler auswirft - Poste doch mal bitte die logs /var/log/mail*.log

Gruß
 
Ich habe noch nie mit mail(); selber gearbeitet, gleich mit PHPMailer und die Funktionen sind einfach klasse, schnell leicht und ohne viel Gefummel :D
 
Du hättest allerdings nur eine Abhängigkeit auflösen müssen, nämlich ext-xsl. Das kannst du erreichen, in dem du php_xsl.so als PHP-Erweiterung in der php.ini aktivierst. Der Rest der Abhängigkeiten löst sich dann auf:

Code:
...
template-zend 1.3.2 requires ext-xsl
...

und

Code:
...
phpdocumentor/phpdocumentor v2.8.2 requires phpdocumentor/template-zend
...

Ist bisschen schwer erkennbar auf den ersten Blick, muss ich zugeben :)
 
Zurück