Hi, is this a bug? I post on support forum and it's not only me has error.

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Locked
maplexxx
Registered User
Posts: 1
Joined: Mon Jan 09, 2023 4:18 am

Hi, is this a bug? I post on support forum and it's not only me has error.

Post by maplexxx »

My site can send emails when registering, but can not receive emails from the "contact us" form.

I spend a lot of time checking every setting in the ACP, but no luck.

So I decided to check the source code. I found functions_messenger.php is where the email sends and function msg_email() is the place I should check.

After var_dump some variables, I found I can't understand the "to" variable, it should be the email address that "contact us" email send to.

This is what happens, on line 543, I var_dump($this->addresses['to']), I got:

array(1) { [0]=> array(2) { ["email"]=> string(20) "[email protected]" ["name"]=> string(13) "Administrator" } }

So we got the correct email address [email protected].

But on line 632, I var_dump($mail_to), I got:

string(51) "=?US-ASCII?Q?Administrator?= "

That's where I can't understand, how could it send an email to the address "=?US-ASCII?Q?Administrator?= ", my PhpBB version is 3.3.9.

And this is another person who has errors too.
2023-01-09 122155.jpg
Post by Mannix_ » Sun Jan 08, 2023 10:56 pm

There is something wrong i just tested in on my board (3.3.9) and a test board (3.3.8) and the contact us e-mail was delivered on 3.3.8 but 3.3.9 wasn't

EDIT. on 3.3.8 it works when you are logged (I unchecked the send a copy checkbox) in otherwise mail doesn't come.

EDIT 2 Weirdly if I used different email it started working on 3.3.9 but only when logged in

EDIT 3 Scratch the 2nd edit it only works when email in acp email settings matches the one on your admin/founder account.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Hi, is this a bug? I post on support forum and it's not only me has error.

Post by DavidIQ »

Hello. This is a development discussion board. The bug tracker is in the navigation bar at the top of this page.

Thanks.
Image

Locked