You did, you posted it right above.
The code provided, as I said, stores the emails in the store folder -> only.
So phpBB sends emails and you can now roll-back those code changes.
You did, you posted it right above.
You will need to make sure your mailserver and php config are setup correctly, as said before.
Most likely, a root cause is either in misconfigured phpbb email form or in modules involved in processing email through phpbb. php() works without problem.Apr 25 14:37:44 ns1 sendmail[47092]: 13PEbhpT047092: to==?UTF-8?B?c2JlbmdlMTIzNA==?= , ctladdr=[email protected] (48/48), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=31554, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (13PEbiUf047094 Message accepted for delivery)
Apr 25 14:37:44 ns1 sendmail[47097]: 13PEbi0F047097: Authentication-Warning: ns1.fanmail.biz: apache set sender to [email protected] using -f
Apr 25 14:37:44 ns1 sendmail[47097]: 13PEbi0F047097: from=[email protected], size=1536, class=0, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost
Apr 25 14:37:44 ns1 sendmail[47097]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1.3, verify=FAIL, cipher=TLS_AES_256_GCM_SHA384, bits=256/256
Apr 25 14:37:44 ns1 sendmail[47098]: STARTTLS=server, relay=localhost [127.0.0.1], version=TLSv1.3, verify=NOT, cipher=TLS_AES_256_GCM_SHA384, bits=256/256
Apr 25 14:37:45 ns1 sendmail[47098]: 13PEbifF047098: from=, size=1721, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTPS, daemon=MTA, relay=localhost [127.0.0.1]