Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inbound email provider suggestions #77

Open
r-a-y opened this issue Feb 26, 2016 · 2 comments
Open

Inbound email provider suggestions #77

r-a-y opened this issue Feb 26, 2016 · 2 comments

Comments

@r-a-y
Copy link
Owner

r-a-y commented Feb 26, 2016

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.)

  • SparkPost - One-month trial - first 15,000 emails free; afterwards, switches to 500 emails per month free. (Added as of commit 4d9c4ad)
  • Postmark - First 100 emails per month free on developer plan. (Added as of commit 12f2782)
    • Docs: http://developer.postmarkapp.com/developer-process-parse.html
    • Has UI dashboard for inbound activity. Only shows last 30 days of activity though. Logs email content as well.
    • Can blacklist email addresses from inbound processing in UI dashboard.
    • Needs one MX record for subdomain.
    • Inbound processing counts towards email total.
    • Sends processed emails to webhook one at a time.
  • SendGrid - One-month trial - first 40,000 emails free; afterwards, switches to 100 emails per day free. (Added as of commit 1185b93)
    • Docs: https://sendgrid.com/docs/API_Reference/Parse_Webhook/inbound_email.html
    • Has UI dashboard for inbound activity. Only logs email address and time processed though. Only shows last 3 days of activity. (Pro accounts get 30 days of activity.)
    • Needs one MX record for subdomain.
    • Inbound processing doesn't appear to count towards email total, so a free account should be sufficient.
    • Sends processed emails to webhook one at a time.

Maybe later:

(This section is outdated.)

Declined:


Info gathered by me; providers sourced from:

This was referenced Feb 26, 2016
r-a-y added a commit that referenced this issue Feb 27, 2016
r-a-y added a commit that referenced this issue Mar 2, 2016
r-a-y added a commit that referenced this issue Oct 3, 2016
It's either SendGrid or Postmark, since these two options are easier to
set up and are free.

See #77.
@StrothiP
Copy link

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
Copy link
Owner Author

r-a-y commented Dec 7, 2021

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:

// If you've added a custom inbound provider, register it with this filter
$third_party_providers = apply_filters( 'bp_rbe_register_inbound_providers', array() );

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' );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants