Reputation: 2921
I'm pressed for time and inherited a sendgrid implementation. There is an unsubscribe option coming across looking like this:
click="" here="">.</>
How do I 1) remove the unsubscribe option? 2) Format the link to something perty?
Upvotes: 6
Views: 7852
Reputation: 13188
Without knowing the specifics about your account configuration, I'm guessing that you probably have the "Subscription Tracking" app enabled in your account. Your options are to (a) use the WYSIWYG editor to change it to something nice or (b) disable the app and do subscription tracking yourself with your own links.
If you sign in to SendGrid and navigate to the "Apps" tab at the very top of the page, you'll see a list of the apps you have on. It should look something like this:
What you're looking for is the "Subscription Tracking" app. If you click on "settings" next to the app title, you'll be taken to a screen where you can edit the link and behavior. You can alternatively click "disable" to turn it off entirely and implement your own.
If you're still having issues, you can always open a ticket on our support team.
Upvotes: 13
Reputation: 9399
In the SendGrid control panel for your account, you can change the option to define whether unsubscribe appears or not. This is a global setting change.
Or, when you create the message (depending on how you create it), you can define whether the unsubscribe link appears or not. For example, if you are using the SendGrid C# library, this option is available. It's not available if you're creating the message via standard SMTP libs, like .Net's MailMessage class. This is a per-message setting change.
There's no default way to change how an unsubscribe link appears AFAIK, beyond CSS formatting.
Upvotes: -1