Fixed Emails sent *to* XF forum appear *from* XF forum

rfc0001

Well-known member
Affected version
2.0.2
Repro:
  1. Someone click "contact us", let's say janus@accounting.com

Expected Result:

Actual Result:
  • Email sent to admins from email janus@accounting.com, from name "Your Community" (whatever name you configure emails sent from forum are sent from)

This is confusing since when you click reply it appears to be sending email to your forum ("Your Community" - the same name emails originating from your forum are sent from - although with your default forum email address), even though it's actually sending it to janus@accounting.com.
 
I think this is basically down to how your email client handles the sender's details being in the "Reply-To" header rather than the "From" header.

Given the behaviour you've described, I think you have this option switched off (which it is, by default):

1519753744852.webp

Noting the description there, if you enabled that option (and tested again) you should find the issue is resolved.
 
To elaborate, without this enabled:

From Name = Forum Name
From Email = Default email address

With that enabled:

From Name = Forum Name
From Email = Sender Email

Expected with that enabled:

From Name = Sender Email
From Email = Sender Email
 
Problem is even though the email is from the sender, it appears to be from the forum. So, when you click reply, it is not apparent you are emailing the sender, not the forum.
 
I think you're going to have to demonstrate this with some screenshots, as this is not the behaviour I'm seeing in any case.

With it off:
1519756990688.webp
From name does appear to be the forum name, but when you reply, of course, the correct email address (and no name):
1519757039565.webp

With it on:
1519757055958.webp
From name is the sender email. And when you reply:
1519757092712.webp

Ultimately it looks like either the SMTP server or email client is doing it wrong as the screenshots above demonstrate the correct (and described) behaviour.
 
Unless you're talking about the bit in the subject, e.g. (from XF 2.0)?

In which case, that's just telling you where the contact form is hosted.
 
The difference is I'm sending emails from a forum user, in which case with this setting on doesn't appear from the sender (which is the bug). Sorry I didn't specify this earlier as I didn't think it was relevant. Please try to repro with forum email sent from user. (ACP > Setup > Options > Default Email Sender Name):

1519849839307.webp
 
To be honest, we're still at a total loss as to what you're trying to explain here.

We've read through this thread a fair few times, and I've tried to reproduce any sort of issue, and so far I've been unable to.

Can you please attempt to come up with something that makes the issue you're experiencing more clear? Including screenshots and a more clear overview of exactly what you expect to be seeing vs what the actual behaviour is, etc.
 
Happy path:

1. ACP > Setup > Options > Default Email Sender Name not set
2. User with email user@internet.com submits contact us form
3. Email sent to admins with from name field and from address field of user@internet.com

Bug:

Steps to repro:

1. ACP > Setup > Options > Default Email Sender Name set to Xenforo User "Admin"
2. User with email user@internet.com submits contact us form

Expected result:
- Email sent to admins with from name field and from address field of user@internet.com

Actual Result
- Email sent to admins with from name of "Admin" (user name in step 1) and from address of of user@internet.com
 
@rfc0001 could you attach a screengrab of your email options please? I've just tested it with the following settings, and it behaved as expected:

1525253866140.webp

The result was an email sent to kier+contact.email@example.com from TestUser <testuser@example.com>, so it would be useful to see exactly what settings you're using so we can attempt to reproduce the issue using your exact configuration.
 
@rfc0001 can you confirm that you have enabled the Sender info in header on contact emails option?

I have the following results:

Sender info [ON]
Default email sender [Buggy McBugFace]
Result: Contact for email from: Username <username@example.com>

Sender info [ON]
Default email sender [empty]
Result: Contact for email from: Username <username@example.com>

Sender info [OFF]
Default email sender [Buggy McBugFace]
Result: Contact for email from: Buggy McBugFace <kier+default.email@example.com>

Sender info [OFF]
Default email sender [empty]
Result: Contact for email from: {Board Title Option Value} <kier+default.email@example.com>
 
We've put in a workaround for this, it should now send with the correct from name when Sender info in header on contact emails is disabled, as I suspect it is in your case, @rfc0001
 
Back
Top Bottom