Lost password reset produces mail.php error


Hello,
When people try to reset their passwords:
1) Nothing happens
2) Upon attempting to reset their password a second time, the following error is produced:
PHP NOTICE [8] fwrite() [<a href='http://php.net/manual/en/function.fwrite.php'>function.fwrite.php</a>]: send of 12 bytes failed with errno=32 Broken pipe in sources/mail.php on line 1180 (version: 10.0.37, PHP version: 7.4.20, URL: /index.php?page=lost-password&type=step2)
Any idea what might be wrong? Thanks.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


I talked to the host provider with that information and they sent a new port for SMTP.
The original error message went away, but was replaced by a new error message:
SMTP authentication not supported (530 5.7.0 Must issue a STARTTLS command first )
Any advice?


In this specific case - the server is trying (in a cryptic way) to tell you that you are only allowed to use SMTP authentication if you use the Start-TLS SMTP protocol.
The custom SMTP server support in Composr is very basic and doesn't support SSL, which requires a lot of code.
There is a Composr addon called BetterMail (which integrates SwiftMailer) that may be able to solve it. If you install this addon and set the SMTP port in the configurable to the server's SSL/TLS SMTP port, and if that port is either 419 or 465 or 587 (which the addon recognises as an SSL/TLS port), then that may resolve it.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


It might be worth adding a couple of lines to one of the tutorials explaining the possible benefit (even if it is officially unsupported).


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.

"You must either enter a username or an e-mail address". I believe the upgrade didn't inish successfully. Is there any other way to recover?


As for resetting the password, again there is a lack of context here. At what point did you get that error message. Is it after filling in a link in the reset email after getting it? That link should fill in the username for you, but if the link is corrupted in the email somehow there should be a problem and you should be able to use a separate manual link in the email to proceed. Some email readers/servers/configurations could potentially corrupt links in emails.
But resetting your admin account should not even be possible, if that's what you are trying to do. It is secured from that as it's a high security account. If you are somehow locked out of your site by forgetting your password, you need to follow a password reset process from Composr Tutorial: Disaster recovery - Composr
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.