-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
phpmailer config #12135
Comments
See the full range of available configuration keys: https://github.com/friendica/friendica-addons/blob/develop/phpmailer/config/phpmailer.config.php There is |
When there's a crash, there should be an entry in PHP's log or your web server log. Please peruse these for errors related to phpmailer. |
Oops. I had it configured with all those options, and it still didn't work. Formatted correctly, too. I checked for the logs via the Friendica UI but it was empty. I'll check the logs directory. Thanks! |
The Friendica log sometimes won't show anything if there's a crash before the Friendica logger is instantiated. In this case, the fallback log is the web server's or php-fpm log. |
Had same issue here, the reason it didn't work was that the configuration part within friendica admin panel was incomplete. Copying and pasting it from https://github.com/friendica/friendica-addons/blob/develop/phpmailer/config/phpmailer.config.php solved the issue.
was missing, and the closing
|
Nevertheless, Friendica does not use phpmailer but insists using mail or sendmail. How can I troubleshoot this? Or would it be better installing postfix with external smtp? |
If you don't want to install Postfix because you don't need the mail reception features, I've been using |
Thanks a lot, @MrPetovan I was not aware of ssmpt, It is really as easy as described here? https://en.acodeof.com/install-ssmtp-ubuntu/ I will have a try later today. Maybe we should add it to the Friendica docs? |
It is easy enough that I was able to set it up by myself. I'm a decent programmer, but I'm not a good system administrator, so it's a good metrics for how easy it is. And you're so welcome to add it to the Friendica docs once you managed to do it! |
Thanks so much, you were right, I've made it, yeah! |
Hi all, I'm still having email issues and am trying phpmailer. Everytime I update the config file though the site crashes and wont' run. Here's my addon.config.php file. The first thing I noticed is that phpmailer file doesn't have the login password. Where should that go? Also, would the lack of a password crash the site? If not, what is doing it?
The text was updated successfully, but these errors were encountered: