Jump to:
| Project: | PHPMailer |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
This might be the wrong place to post this issue, but I had to start somewhere. If this issue should go in the PHPMailer issue queue, I'm fine with that too.
I'm using Webform 6.x-3.11 along with PHPMailer and a Google Apps account.
In Webform I have an E-mail setup to come to me where the "E-mail from address:" is set to what the user types in. Same for the "E-mail from name:".
It seems as though PHPMailer overrides the "E-mail from address:" and uses the account address that it is authenticating with. This is understandable and not all bad.
I have the PHPMailer Advanced SMTP settings for '"From" name:' set, along with the checkbox for 'Always set "Reply-To" address' checked.
A Reply-To address shows up exactly as I want it in the e-mail to me, with the From Name set to the user submitted value and the From E-mail value set to the user entered value.
The problem is that the "From Name" portion of the From header does not get set to the value in the PHPMailer settings, but rather uses the same user submitted "From Name" value that Webform gathered.
I'd like it to behave like the following:
From: "PHPMailer Name" < PHPMailer E-mail >
Reply-To: "Webform User Name" < Webform User E-mail >
but right now the e-mails show up like:
From: "Webform User Name" < PHPMailer E-mail >
Reply-To: "Webform User Name" < Webform User E-mail >
I'm not sure which module is taking control of any of this. If this issue needs to be and can be moved, that'd be fine, otherwise I can repost it elsewhere.
Comments
#2
anyone?
#3
I'm going to move this over to the PHPMailer queue because it's the one doing the modification of the mails. It's also likely that the maintainer over there will be familiar with Webform, as opposed to myself (the Webform maintainer) who doesn't know the first thing about what PHPMailer is used for.
#4
Thanks, I appreciate you moving this issue rather than me reposting it.