mettle / sendportal

Open-source self-hosted email marketing. Manage your own newsletters at a fraction of the cost.
https://sendportal.io
MIT License
1.72k stars 339 forks source link

Send unsubscribe link in List-Unsubscribe header #274

Open jokerisgod opened 1 year ago

jokerisgod commented 1 year ago

How to send unsubscribe link in List-Unsubscribe header ?

HeadStudios commented 1 year ago

Did you get an answer?

deadlyanony commented 9 months ago

Use this for view in web browser

`

View In Browser

`

Use this for unsubscribe list <span class="txt-unsubscribe"><a href="{{unsubscribe_url}}" style="color:#057D8E; text-decoration:none;">Unsubscribe</a></span>

drjoeward commented 8 months ago

This is not what they were asking for. This is about putting the List-Unsubscribe in the email's header. Starting on Feb 1 anyone who sends more than 5k messages in a day to users at google or yahoo (i'm assuming microsoft will not be far behind) is requiring quite a few anti-spam requirements one of them is the list unsubscribe email header and having it in the body of the message is not sufficent.

anyone have an idea were the headers are even generated in sendportal? I'm using sendgrid and have been tryign to locate a spot where i can add some header code (and hope the unsubcribe_url merge field will work)