Remove (or merge) Elastic email Unsubscribe


(Marius) #1

hi,

i’m using elastic email for delivery (from your recom.)

but i can’t remove unsubscribe link from elastic email (i think because is mandatory)

from what i read is a way to merge some how. they give this doc

how can i solve this? i this many discourse users have elastic email, maybe have also a solution.
plus i need user to unsubscribe from discourse link not from elastic link.

thank you very much.


(Joshua Rosenfeld) #2

If you’re certain the link is being added by Elastic, you’ll need to contact Elastic for help removing the unsubscribe link. We (Discourse) can’t help with that.


(Allen) #3

Hi Joshua

Elastic Email, one of your recommended email services, will always add an unsubscribe link at the end of any mail sent through their service in order to comply with anti spam legislation. There is no way that this can be disabled, not even by contacting support.

It is clear that managing unsubscribes in a separate application (i.e. Elastic Email) is not really a great option. I think what @mmiada meant, and I would like to ask as well, is the following:

Does Discourse provide any way to disable all emails for a given user by making a http request to Discourse from an external application, with the email address of the unsubscribing user as a parameter? This would allow any unsubscribes coming from Elastic Email to disable mailing for the unsubscribing user, because Elastic Email offers this capability in their system:

The Elastic Email http notification specification is documented here.


(Joshua Rosenfeld) #4

I’m not sure personally, you’d need another engineer to confirm. Perhaps @zogstrip knows.


(Régis Hanol) #5

The only unsubscribe route we have takes an “unsubscribe key” as parameter.

But we do support webhooks for our other recommended email services. I’m open to a PR adding support for Elastic Email :wink:


(Felix Freiberger) #6

As far as I understand, that would only partially solve the problem because if users re-subscribed to mails from their Discourse profile, this would fail (they’d need to resubscribe with ElasticMail). I’m not sure there is a good solution to this :frowning:


(Maged Sammor) #7

@allu Is it possible to hide the address though? I don’t mind having the unsubscribe button but the address of my elasticmail account shows everytime an email is sent.


(senty) #8

+1 for removing address from footer. Is there any way to do it at least?
@Majedsam did you manage to remove it?


(Christoph) #9

What a bummer. It really looks like you can’t send a single email through elastic email without an unsubscribe link at the bottom. (In my case, they’re also adding my address. But I haven’t investigated whether the address can be removed).

In any case, I think this should disqualify elastic email as an officially recommended email provider for discourse. It’s unusable like that. And 30 minute install wont work if you have to go back and reconfigure your email…


SMTP: Mailgun vs elasticemail?
Suggestion for good VPS to host Discourse ? Digital ocean or Linode?
Options on email providers?
(Jay Pfaffman) #10

What’s that? You should be able to run ./discourse-setup again and just enter new mail settings.


(Christoph) #11

Well, yes. Or just edit the app.yml and rebuild (which takes time). And what takes even more time is setting up a mailgun account and setup the DNS records accordingly.


(Jay Pfaffman) #12

I see. My setup script configures mallgun, and if you use digital ocean’s dns servers, the dns and mallgun activation.


(Christoph) #13

I’m with Hetzner and Google domains…

Anyway, my point was just that I see no reason why elasticemail is on the list. It’s misleading.

Looks like mailgun is the only way to go if you want free emails for a smaller forum…


(Jay Pfaffman) #14

Mallgun is what I recommend, actually, require, for my $99 desk customers.


(Jeff Atwood) #15

Can you remove it if you pay for the service, at least?


(Marius) #16

no, you can’t, is mandatory.


(Christoph) #17

I asked them if I misunderstood something and here is what they answered:

All email sent through the account requires an Elastic Email {unsubscribe} merge tag. You can learn how to add this link to your emails here: https://elasticemail.com/support/user-interface/unsubscribe/#Unsubs

Additional information regarding this is located here: Merge Fields | Elastic Email

If you do not add an {unsubscribe} tag to your emails, our system will automatically place an “UNSUBSCRIBE” link at the bottom of your email.

All email is also required to have your profile’s physical address information. Please see details here:
https://elasticemail.com/resources/account/email-compliance-merging…

If you would like to customize the placement or formatting of this information you can use the merge tag {accountaddress}.


(Heisleaving) #18

Although it’s an old subject, let me let here a solution for other people searching the answer to the question. You can change the unsubscribe link adding a merge field or the link. Something like
{unsubscribe:{unsubscribe_link}} (where unsubscribe_link is the merge field) or
{unsubscribe: http://yourdomain.com/unsusbscribe_or_something_similar/ }

Source: Unsubscribe: How To | Elastic Email


(⛰️) #19

Is there a general unsubscribe link which can be used with cookies then?