412 pointsWPMU DEV ExpertI'm helpful
Christopher Price
Member
—
30th April 2010 (2 years ago)
I've invited several blog admins to try out the Subscribe by Email plugin. What I've noticed, that I didn't see on testing myself, is that the sender of the emails is from my primary site domain. A subscriber of blog with a mapped domain is not likely to recognize this sender and may spam the subscription.
Is there a way to modify the sender to be the blog admin (or domain) so the emails have a chance to be recognized by the subscriber to a mapped domain?
I've invited several blog admins to try out the Subscribe by Email plugin. What I've noticed, that I didn't see on testing myself, is that the sender of the emails is from my primary site domain. A subscriber of blog with a mapped domain is not likely to recognize this sender and may spam the subscription.
Is there a way to modify the sender to be the blog admin (or domain) so the emails have a chance to be recognized by the subscriber to a mapped domain?
edit: Really shouldn't have to do that though. We're already in the blog in question so it should be pulling it for the blog and not the site. That's weird.
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
30th April 2010 (2 years ago)
#
My point it is that it shouldn;t be needed. From looking at the code around those lines, it;s pulling information from the blog and I;m assuming that it;s doing it fine.
We don;t use the plugin so I;m not familiar with it.
Can't speak to what the code ought or ought not be doing, but I can't think of a case wherein blog admins would prefer me, rather than themselves, to announce new posts.
I'm afraid drmike's code suggestion didn't work for me.
1) Subscribers still receive email updates from the site rather than the blog.
2) The email doesn't refer to the mapped domain address that subscribers would know.
See the following (slightly doctored) email example:
from foo.com <noreply@steveg.foo.com>
to me@mydomain.com
date Tue, May 4, 2010 at 3:46 PM
subject Come and get it!: New Post
hide details 3:46 PM (2 hours ago)
Dear Subscriber,
Steve's Picks! has posted a new item: Pick of the Day 5/4/2010
Responses (9)
Keeper of the Dark Chocolate — 30th April 2010 (2 years ago) #
heh Third time I;ve download this plugin today.
Open up subscribe-by-email.php and look for this line:
$admin_email = get_option('admin_email');try changing it to:
$admin_email = get_blog_option($blog_id,'admin_email');Hope this helps,
-drmike
edit: Really shouldn't have to do that though. We're already in the blog in question so it should be pulling it for the blog and not the site. That's weird.
Member — 30th April 2010 (2 years ago) #
Thanks again, drmike!
Keeper of the Dark Chocolate — 30th April 2010 (2 years ago) #
Not a problem. Still wondering why the original code didn;t work as it's pulling the post content, right?
Founder & CEO — 30th April 2010 (2 years ago) #
I think that might be a worthwile edit to the core code too, would others agree?
Keeper of the Dark Chocolate — 30th April 2010 (2 years ago) #
My point it is that it shouldn;t be needed. From looking at the code around those lines, it;s pulling information from the blog and I;m assuming that it;s doing it fine.
We don;t use the plugin so I;m not familiar with it.
Member — 30th April 2010 (2 years ago) #
Can't speak to what the code ought or ought not be doing, but I can't think of a case wherein blog admins would prefer me, rather than themselves, to announce new posts.
Keeper of the Dark Chocolate — 1st May 2010 (2 years ago) #
You lost me on that bit about case but if this fix is what is required to get it to run...
Member — 5th May 2010 (2 years ago) #
I'm afraid drmike's code suggestion didn't work for me.
1) Subscribers still receive email updates from the site rather than the blog.
2) The email doesn't refer to the mapped domain address that subscribers would know.
See the following (slightly doctored) email example:
from foo.com <noreply@steveg.foo.com>
to me@mydomain.com
date Tue, May 4, 2010 at 3:46 PM
subject Come and get it!: New Post
hide details 3:46 PM (2 hours ago)
Dear Subscriber,
Steve's Picks! has posted a new item: Pick of the Day 5/4/2010
You can read the post in full here: http://steveg.foo.com/pick-of-the-day-542010/
Thanks,
Steve's Picks!
Cancel subscription: http://steveg.foo.com?action=cancel-subscription&sid=2
Member — 9th May 2010 (2 years ago) #
Any comments? Is this working as designed?
Become a member