Hello. When I receive mail from customers, let’s say mickey@disney.com , and then I answer to the mail, 2 strange things happen:
If I “Reply all” there is no all. The answer goes only to 1 person (Mickey Mouse)
When mickey receive the mail he obtains: from: Mickey Mouse mickey@disney.com to: Mickey Mouse mickey@disney.com
So it seems that the “From” message is completely wrong. I am talking of the From Message, not the From: of the smtp protocol.
Let me specify better: this is the extract of the full conversation, I am Maurizio (the sender) and the recipient is MickeyMouse:
Received: from my domain.com xx.yy.zz.kk-.ip74.fastwebnet.it. [xx.yy.zz.kk])
by smtp.gmail.com with ESMTPSA id u3sm3354151eje.63.2021.01.29.00.52.59
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 29 Jan 2021 00:53:00 -0800 (PST)
Date: Fri, 29 Jan 2021 09:52:59 +0100
To: mickey@disney.com
From: “mickey@disney.com ” maurizio@mydomain.com
Reply-To: “mickey@disney.com ” maurizio@mydomain.com
Subject: RE:RE: Whatever you want
Message-ID: 90ddf750d871a8446c75910ac319b852@mydomain.com
X-Mailer: PHPMailer 5.2.25 (https://github.com/PHPMailer/PHPMailer )
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary=“b1_90ddf750d871a8446c75910ac319b852”
As it can be noted, both the mail from: and the reply to: present a wrong textual name (mickey@disney.com ), but a correct reply address. Which means that the recipient receives the mail as if the message would have been written by himself; if the recipient then reply to the mail the answer arrives to me.
This is due to a coding error, I imagine.
Of course the mail from: and rcpt to: at smtp level are correct (and authentication is performed through google for sending mail).
Hello Cicciobello,
Did you manage to get this issue fixed? I’m seeing the same issue in Version 7.11.12 .
Thanks
No fix at all.
I opened a bug, you can find it here:
But nothig apparently happened. It is signaled as a bug, critical.
I don’t know what to do, I am sending the mail manually, but of course this is a big waste of time and synchronization is lost.
If you have any advice, let me know.
And in my opinion, it should be easy to fix, probably a wrong variable name or similar
Hi,
I’ll update this thread when I know more.
Thanks
I’ve got same issue
Version 7.12.4
Did you solve this? I upgraded to 7.12.8 but I didn’t test. I have seen that marcoblancas tried to create a patch
salesagility:hotfix
← marcoblancas:bugfix_8336
opened 03:56PM - 24 Mar 22 UTC
## Description
Fix issue #8336 and probably #9023 and #8959 could be closed.
…
## Motivation and Context
"From name" set up in "User Profile > Settings > Mail Accounts" in Outgoing mail accounts is not populated when sending emails from Emails ComposeView. The same happens with the " Reply to Address" users set up in the mail accounts (inbound) related with Outgoing mail accounts (see red boxed filed in screen capture below).
![imagen](https://user-images.githubusercontent.com/5545390/159945621-835f5424-2c04-4529-8c92-6dc3f4b33775.png)
so when the mails arrive to destination clients see this in the mail heads:
> From: "sinesio.profe@udima.es" <sinesio.profe@udima.es>
> Reply-To: sinesio.profe@udima.es
mail heads should be.
> From: "SINESIA Sánchez" <sinesio.profe@udima.es>
> Reply-To: "SINESIA Sánchez" <sinesio.profe+reply@udima.es>
## How To Test This
- Set up at less two mails accounts in a regular user with two different outgoing mail accounts with something like above screen capture.
- Send mails from the "Email > Compose"
- "Reply" received emails from the DisplayDetailView "Email".
- Send mails from a "Lead" detail view using "Create Task > Compose mail"
- In all your test... review mail heads received in destination.
- If you want you can try to launch a mail "Campaign" in order to verify that nothing is broken there.
- Compose mails in the Emails module and save them as "Drafts", and sent them later.
## Changes explanation
Basically "from_addr_email" was replaced by "from_addr" in populateBeanFromRequest because "from_addr" is how it is named in the email bean when populating from $request.
In the mails ComposeView.tpl was required to add these fields in order to be sent in $_REQUEST:
```
<input type="hidden" name="from_addr_name" value="">
<input type="hidden" name="reply_to_addr" value="">
```
Finally some fix was made in EmailsComposeView.js in order to populate this fields with the selected mail account user selects or change in the "From:" select.
No extra DB queries are required with this approach.
## Types of changes
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
### Final checklist
- [X] My code follows the code style of this project found [here](https://docs.suitecrm.com/community/contributing-code/coding-standards/).
- [ ] My change requires a change to the documentation.
- [X] I have read the [**How to Contribute**](https://docs.suitecrm.com/community/contributing-code/) guidelines.
but I haven’t understood if this has been included in some release (seems not).