[3.2][BETA] Mail to Post

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
david63
Registered User
Posts: 16535
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

[3.2][BETA] Mail to Post

Post by david63 » Wed Oct 09, 2019 10:17 am

Extension Name: Mail to Post
Author: david63

Description:Adds a feature to receive posts via an email.

Extension Version: [RC] 2.1.0-b1

Requirements: phpBB 3.2.7

Features:
  • Controlled by a new user permission (Can send mail to post)
  • User can select which forum their mail messages will be posted in - this can be overridden in ACP
  • Mail messages can be retrieved either manually or via a Cron job
  • All actions are written to a log file
  • Messages can be moderated if required
Usage:
  • An email address is required for sending the posts to - Gmail does work but can be awkward to set up.
  • I recommend that a new user group is created with the permission to use this feature into which you can put the users that you want to use it - this makes "troublemakers" easy to remove.
Installation:
  • Download the latest release and unzip it.
  • Upload the unzipped files to root/ext/david63/mailtopost and enable it in the ACP
GitHub Repository: https://github.com/david63/mailtopost
Extension Download: https://github.com/david63/mailtopost/archive/3.2.zip
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
david63
Registered User
Posts: 16535
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][BETA] Mail to Post

Post by david63 » Wed Oct 09, 2019 10:18 am

Reserved
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

nou nou
Registered User
Posts: 371
Joined: Sat Oct 29, 2016 8:08 pm

Re: [3.2][BETA] Mail to Post

Post by nou nou » Wed Oct 09, 2019 7:31 pm

Very interesting! Subscribed :)

For clarity, would it be possible to send emails to a specific topic (so it will append a post), or is every email creating a new topic?

(I have not tested the extension yet)

Thanks!

User avatar
david63
Registered User
Posts: 16535
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][BETA] Mail to Post

Post by david63 » Wed Oct 09, 2019 8:22 pm

nou nou wrote:
Wed Oct 09, 2019 7:31 pm
would it be possible to send emails to a specific topic (so it will append a post), or is every email creating a new topic?
That is optional. If the subject of a mail message is the same as a topic title in the same forum then it will, at Admin's discretion, be a reply.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51865
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [3.2][BETA] Mail to Post

Post by Brf » Wed Oct 09, 2019 8:53 pm

So anyone can mail to that mailbox and it creates a post?
Is the post anonymous, or does it post as a user?

User avatar
david63
Registered User
Posts: 16535
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][BETA] Mail to Post

Post by david63 » Wed Oct 09, 2019 9:16 pm

Brf wrote:
Wed Oct 09, 2019 8:53 pm
So anyone can mail to that mailbox and it creates a post?
Is the post anonymous, or does it post as a user?
Yes anyone who knows the mailbox can send a message to it but it will only create a post if a user has been granted permission to post and the email originates from the email registered on the board. Posts will go under the username.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51865
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [3.2][BETA] Mail to Post

Post by Brf » Wed Oct 09, 2019 9:18 pm

So if your "troublemakers" know the admin's email address they could spoof messages that would be posted as if from that admin.

User avatar
david63
Registered User
Posts: 16535
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][BETA] Mail to Post

Post by david63 » Wed Oct 09, 2019 9:40 pm

Brf wrote:
Wed Oct 09, 2019 9:18 pm
So if your "troublemakers" know the admin's email address they could spoof messages that would be posted as if from that admin.
Possible, but only if the Admin had the permission set. There is also the facility to moderate all messages.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51865
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [3.2][BETA] Mail to Post

Post by Brf » Thu Oct 10, 2019 2:41 pm

My point was that using Email address alone is not a good way to identify a user, since that Email address can be easily spoofed.

User avatar
david63
Registered User
Posts: 16535
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][BETA] Mail to Post

Post by david63 » Thu Oct 10, 2019 3:02 pm

Brf wrote:
Thu Oct 10, 2019 2:41 pm
My point was that using Email address alone is not a good way to identify a user, since that Email address can be easily spoofed.
I don't totally disagree but there is no other way to get the user information other than imposing a strict format for the mail message that users would get wrong and would be easy for someone to imitate.

I have added a basic "spoofing" check that should trap the casual spoofer.

I still believe that with proper management there are the controls in this extension to capture malicious use - the main one being that you only give the permission to those who you can trust.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Post Reply

Return to “Extensions in Development”