I use webmin. I can send emails from it without problem. There is no email limit on my server.
I won't be surprised that is the cause. Make sure that mailbox exists or use a address that does exist.13AD4m45380449: <[email protected]>... User unknown
Most likely, a root cause is either in misconfigured phpbb email form or in modules involved in processing email through phpbb.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]
PHP/mail()
function, the following code will store the emails into the ROOT/store/ folder
, if it works.Code: Select all
$result = mail($to, mail_encode($subject, ''), wordwrap(utf8_wordwrap($msg), 997, "\n", true), $headers, $additional_parameters);
Code: Select all
//$result = mail($to, mail_encode($subject, ''), wordwrap(utf8_wordwrap($msg), 997, "\n", true), $headers, $additional_parameters);
file_put_contents($phpbb_root_path . 'store/email_' . time() . '_' . unique_id() . '.txt', 'To: ' . $to . "\n\nSubject: " . $subject . "\n\n" . $msg);
return true;
ROOT/store/ folder
.but i did not received the messageTo: =?UTF-8?B?YWRtaW4=?= <[email protected]>
Subject: phpBB is correctly configured to send emails
Hello admin,
Congratulations. If you received this email, phpBB is correctly configured to send emails.
test message
In case you require assistance, please visit the phpBB support forums - https://www.phpbb.com/community/
--
Thanks, Fanmail.biz