modifier serveur smtp
Bonjour,
Je n'ai pas trouvé de documentation lorsque l'on auto héberge un pretty et pour modifier le serveur smtp.
En cherchant un peu j'ai modifié le fichier https://framagit.org/framasoft/PrettyNoemieCMS/blob/master/app/controllers/ShowcaseController.php#L105 pour ajouter la ligne: $mail = new SMTP('smtp.free.fr',465,'SSL','USER','password')
J'ai une erreur lors d'envoi de message:
Object of class SMTP could not be converted to string
[vendor/bcosca/fatfree/lib/base.php:2314] Base->error()
[app/controllers/ShowcaseController.php:136] Base->{closure}()
[vendor/bcosca/fatfree/lib/base.php:1927] ShowCaseController->contact()
[vendor/bcosca/fatfree/lib/base.php:1727] Base->call()
[index.php:28] Base->run()
Je suis sur la bonne voie?