Edit the email
-
The email that gets sent out, only shows about three of four words in the email. Is there a way that I can edit this to show more… maybe even the whole post.
-
There might be an option for that in the next release.
In current version there´s a limit for 130 characters.I’d like this option also. Even if it was possible to send out the entire blog post via email versus a summary.
Thanks!
I too am looking for this option…
At the least,
excerpts should be included with the titleBest to have;
ability to included full text – html in the emaildoesn’t make much sense to have users subscribe to get just the title in the email.
I managed to fix this issue
Edit class-subscribe.php around line 989
Changed 130 to 15000
<div><?php echo apply_filters('the_content', $this->string_cut( $email['post']->post_content, 15000 ) );?></div>Could the email also include the feature image associated with the post?
Thanks!
OliviaHi hetul,
If the first thing in the post is an image, do you get text by increasing to 15000 characters? I don’t get any part of the post other than the title in this case…
Where did you find the class-subscribe.php file?
I’m not seeing it in the wp-admin -> Appearance -> Editor…
I’m using SiteGround as my provider and I’m fairly new to WordPress so I appreciate your guidance.
Thanks!
OliviaOk, I think I’ve found the place — I needed to go through the wp-admin -> Plugins -> Editor -> Subscribe to Category, then find the file.
Now I have a security issue that I’m working through…
But I did have a question, instead of increasing the limit to 15,000 characters, couldn’t you do the following to display the entire post?
Would this include any images as well? (I’ll update with my results when I’ve gotten through my security issue with Siteground)
<div><?php echo apply_filters('the_content', $email['post']->post_content );?></div>Ok, I’ve confirmed: if you search for 130 in the class-subscribe.php and replace that line with:
<div><?php echo apply_filters('the_content', $email['post']->post_content );?></div>It will output the entire post.
If your post begins with an image, this will also output the image — if you leave it at 130, the email body will basically be blank because 130 characters isn’t even enough to capture the img tag…
@daniel: perhaps you could make an option for the plugin to output the excerpt (instead of 130 chars) or the entire post?
GREAT PLUGIN, Thanks a lot for such a great job! I agree to some of the guys commenting about the possibility of customizing the emails, that would be nice! One question: did anyone have problems with sent emails landing in the Spam-folder? I receive the emails in my spam-folder and I am afraid, my subscriptors do as well. Any ideas to avoid it? Thank you
I’ve also got the spam folder problem. I send from Gmail, and am checking in Gmail. I suspect it has something to do with not authenticating the SMTP server for outbound emails – StC is just telling the email header to show the admin email address. If there were some login framework, this problem would likely be fixed.
Thats a good point, I’ve actually been thinking about creating a feature to send via SMTP. I think that should prevent a lot of the spam folder issue.
There are some plugins that force all wp_mail to be sent through SMTP, have you tried one of those? For example WP SMTP Mail?
Great suggestion – that seemed to work in my limited testing. Thanks!
has anyone tried the WP SMTP solution? We are also having spam folder problems
The topic ‘Edit the email’ is closed to new replies.