r-a-y / bp-reply-by-email

Reply to BuddyPress items from the comfort of your email inbox. Currently in pre-release.
GNU General Public License v2.0
63 stars 9 forks source link

Inbound email provider suggestions #77

Open r-a-y opened 8 years ago

r-a-y commented 8 years ago

Spawned from changes due to Mandrill's pricing structure, I'm going to compile a list of potential inbound providers for inclusion into RBE.

Implemented:

(Information partially updated as of January 2019. If you find inaccuracies, please let me know.)

Maybe later:

(This section is outdated.)

Declined:


Info gathered by me; providers sourced from:

StrothiP commented 2 years ago

Hey guys,

@r-a-y I was wondering, whether this plugin is still under development and if so, maybe Mailersend could be integrated as an option? They offer 12000 emails / month free of charge, which is a great offer for small NGOs like mine. Plus they have inbound routing, so I think they could be integrated with your plugin? See here: https://www.mailersend.com/features/inbound-emails

Let me know what you think :)

Kind regards, Philip

r-a-y commented 2 years ago

Sorry for the late reply, @StrothiP.

Plugin is still in development, but mostly for bug fixes. As of right now, I do not plan on integrating Mailersend into the plugin.

If you have access to a developer, that person will need to create a new class to parse the inbound provider's POST response to your website. View examples of other inbound provider classes: https://github.com/r-a-y/bp-reply-by-email/tree/master/includes/classes/ (check the PHP files prefixed with bp-reply-by-email-inbound-provider.

The developer should also register their provider with this filter: https://github.com/r-a-y/bp-reply-by-email/blob/18e720b1cf2969d798dafb2a20a048e768c4a06d/bp-rbe-core.php#L214-L215

Add a new array key with the provider short name and for the array value, add the class name for your inbound provider class. You can also load your inbound provider class on this filter as well.

For example:

function mailersend_rbe_inbound_provider( $retval ) {
    require_once FILEPATH-TO-YOUR-CUSTOM-PROVIDER-CLASS.php;

    $retval['mailersend'] = 'CLASSNAME_OF_YOUR_CUSTOM_PROVIDER_CLASS';
    return $retval;
}
add_filter( 'bp_rbe_register_inbound_providers', 'mailersend_rbe_inbound_provider' );