awardpress
Forum Replies Created
-
it could be a simple checkbox “omit the Reply-to header” which would turn on or off the line you specified
I’ve just realized that I was wrong when wrote that.
Suppose the following use case. I use both plugins: “Contact Form 7” and “Email Subscribers” and for security reasons I separate email account accessible from WordPress site and other (main) email account for manual use. In such case, I’d like these plugins to send emails with following headers.
When a user fills in the contact form as follows:
Enter your name: John Doe Enter your email: [email protected] Enter subject: You have a bug on your site
— then “Contact Form” plugin should send a letter with following headers:
From: "John Doe" <[email protected]> To: [email protected] Reply-to: "John Doe" <[email protected]>
— and “Contact Form” actually can do this.
And when a user (say, John Doe) subscribes to new posts and a new post is published, then “Email Subscribers” should send a letter with following headers:
From: [email protected] To: [email protected] Reply-to: [email protected]
— but (currently) “Email Subscribers” can’t do this.
As you may see, the
Reply-to:
header isn’t same in these two cases, it differs. Thus, forcing “Easy WP SMTP” to put the sameReply-to: [email protected]
in every letter sent by the site isn’t a good solution. Therefore, simple omitting ofReply-to:
header in “Email Subscribers” isn’t a good solution too. A good solution would be only to make it possible to set two different email addresses in “Email Subscribers”: one forFrom:
header and other forReply-to:
header.P.S. I’ve edited the line number 238 in file
/wp-content/plugins/email-subscribers/classes/es-sendmail.php
for this to work correctly:# $headers .= "Reply-To: \"" . $sender_name . "\" <" . $sender_email . ">\n"; $headers .= "Reply-To: \"" . $sender_name . "\" <" . '[email protected]' . ">\n";
Now it works as expected for me. Waiting what developers will answer.
- This reply was modified 5 years, 11 months ago by awardpress.
- This reply was modified 5 years, 11 months ago by awardpress.
- This reply was modified 5 years, 11 months ago by awardpress.
- This reply was modified 5 years, 11 months ago by awardpress.
I’ve got to know now, that disabling the line you specified fixed only the test letter sending. To actually fix the subscriptions mail sending, you have to find the exact line that appends “reply-to” header to this letter. In my case, that was line #238 in file /wp-content/plugins/email-subscribers/classes/es-sendmail.php
Only after commenting out THAT line, I’ve got issue actually fixed.the reply-to address set in “Easy WP SMTP” plugin to appear in the emails
SMTP plugin, it overwrites the settings as defined in it
As I said, yes, it does appear in “Reply-to:” field, BUT it APPENDS to it, NOT OVERWRITES. I.e. I want this:
From: [email protected] Reply-to: [email protected]
– but what I actually get is this:
From: [email protected] Reply-to: [email protected], [email protected]
– and this, as you may understand, is far from what I want, because a user is suggested to send a copy of their reply to the “noreply” address.
remove the line from the Email Subscribers code
do have a recheck and let me know how it goes
I’ve commented out the line you specified and yes, this solved the issue, the result I get now is exactly what I want, thank you!
From: [email protected] Reply-to: [email protected]
I have also taken a note of implementing a feature to change the reply-to address from the admin dashboard itself and forwarding to the developer.
I’m waiting for news from you about what have developers decided about this issue. Hope they’ll implement this feature! In the easiest way, it could be a simple checkbox “omit the Reply-to header” which would turn on or off the line you specified (line #178).
- This reply was modified 5 years, 11 months ago by awardpress.
Forum: Reviews
In reply to: [Mistape] Fabuleux !il exist tel plugin pas pour seul WordPress, mais pour n’importe quel site: https://orphus.ru/fr/
en Englais: There is a plugin that gives the same functionality not only to WordPress sites but for any site: https://orphus.ru/en/