Show helpful message when clicking opt out link in email test

Related products: None

It is expected that Opt-Out links don't function in test emails. Can we have a more helpful message for this? Right now it says the following





The link you're trying to access is invalid. Contact your Admin to receive a valid link.





This leads to people think the unsubscribe link doesn't work and causes concern.



+1 here. It's my understanding that this is expected when clicking into test emails, however when a user is trying to test their custom opt out pages, it's incredibly difficult to validate.




Hi Team, 

I’m seeing a new error message now when I preview the template via program/email templates and click on the “unsubscribe” or “manage preferences” link. It would be more helpful if we could give a meaningful message for this. 

 

Error: An unknown error occurred. If the problem persists, contact the sender of the email. 

Screenshot: https://share.getcloudapp.com/KouwBN2P 


Upvoting for the following error message - 

It’s not helpful and doesn’t indicate that this is simply due to the link coming from a test (preview) email.