Posting Content via Email
-
Hello, I just got set up again with WordPress and I have a small problem. I need to publish weather warnings and such to my WP site and then to Facebook. I used Weather Message Sofware and it sends everything else by email as it should. I can use the auto-generated address on any mail client I have and it works flawlessly. Are there any recommended setup steps I may have missed that can rectify the problem?.
Best Regards
Wayne ThomasWP.com: Yes
Correct account: YesThe blog I need help with is: (visible only to logged in users)
-
The email address you are sending from must be unique en kept secret otherwise anyone kan post on your blog.
You find all usefull info at https://wordpress.com/support/post-by-email/ -
Hi Wayne,
Can you give more details on what’s not working? I can see five updates posted to your site this morning, and I’m not seeing any blocked or rejected emails in our logs that were received but not posted. In other words, everything we’ve received at the secret address for your site, were published to your site. I count 9 total since 5 Feb.
That said, I agree with @staartmees: using the secret email address for the Post By Email feature is risky for something like this. Anyone with access to that email can post anything to your site, so I’d caution against using that on a third party service that you don’t control.
For this kind of automated posting, using a service like IFTTT is generally better. In fact, if the end goal is getting the updates on Facebook, and the WordPress.com site is not a crucial piece of the puzzle, then you might be able to use IFTTT to post your updates from the weather service directly to Facebook, and cut us out as middle-man.
-
Just wanted to touch base with some more information on my problem.
I can post manually with no problems from any addresses. My software here that collects the material ( weather related) cannot post to the page. I checked with the vendor ( Weather Message) and we determined the posts were being accepted by the server but that appears to be it. I did find an error concerning the security certificate so I changed the address the software send from. I have full control of that software and no one but me knows the address generated on my dashboard.I have checked everything I can think of on this matter but can’t find any problems I previously had this working a few years ago but changed hosting and decided to get back an ability to post weather warnings on an alternate page and in turn have that page post it to Facebook. If anyone has any ideas of what I have missed please let me know. The software developer and me have not been able to come to a conclusion to the problem and I have talked with others that have it working flawlessly.
Thanks
Wayne -
The software used to email the data is completely in my control and runs on my wx server here on site. No one has access to the server and it does include a firewall.
The posts you are viewing are ones that I have manually sent from my laptop but the Wx Message software does the same thing only automatically. I get alerts and such sent from here to my phone and that works perfectly from the same SMTP address as the WordPress postings are being sent from. Just for kicks, I changed the SMTP server address and that made no difference. My mail log shows an error with the security certificate although it was sending fine. I am open to any suggestions as the software developer and I are stumped. I have had this working on my previous host but I changed hosts and lost that capability.
Thanks for taking time to read and reply to my cry for help :)
Regards,
Wayne Thomas -
Thanks for the extra details.
I’m afraid I’m stumped as well, though. Our PBE logs show all emails we receive, even if they don’t get published to the site (our logs indicate those as either Rejected or Spam, depending on what happened to them). But for your site I don’t see any Rejected or Spam emails, just a handful of published ones, which would be the ones you sent manually.
So either your emails aren’t making it to our mail servers at all, or something is causing them to be blocked at a systems level, before they even make it to the software that handles the PBE service.
Can you tell me the FROM address these emails are being sent from? Our forums software will automatically redact the email so it’s not visible publicly, but our team will be able to see it.
-
Thanks for the reply!
The address that I have set up in the software is (email visible only to moderators and staff) This is the only use for this address
I previously had set up one of my emails but I noticed the security conflict.If you need additional info please let me know
Best Regards,
Wayne -
Thanks for the email address. I can confirm that it isn’t being blocked on our end.
I did some more digging and found this in the Jetpack documentation (the Post by Email feature is powered by the Jetpack plugin that’s integrated on all WordPress.com sites):
Does your software use PHP Mailer or another PHP script to generate the emails? If so, that’s why it isn’t working. Even if you’re using another language, chances are whatever mailing function/script that language uses will likewise be blocked, as the key phrase for me is “The post by email feature is only available for email clients.”
Have you considered just letting the software create the posts directly on your site using the WordPress.com REST API? Unfortunately we’re not able to help with the technical details on how to do that in these forums, but you can find our API documentation here:
I’m not sure how customizable the software you’re using is, but you can ask the developer about making this kind of integration for you. The endpoint for creating a new post on a site is at https://developer.wordpress.com/docs/api/1.1/post/sites/%24site/posts/new/
The other option is the one I mentioned above – using IFTTT to post to your blog using XML-RPC instead.
- The topic ‘Posting Content via Email’ is closed to new replies.