Unsub link in common emails (Not campaigns)

Just basically what the subject headline says.

Is there a way to have a unsub link for common vanilla emails (In your e-mail template), so if lets say a potential prospect you have contacted per e-mail does not want to receive a further mail communication it will be registered as opted-out in the lead record of that prospect?

Thanks in advance…

Anyone here that knows anything about this please? :thinking:

I don’t know, but have a look at what a normal opt-out link looks like. Maybe you can just add it to your email.

I don’t know exactly where the system uses such links, though - I think they exist but you’ll have to go look for them…

@PowerQuest

Take the Meetings module and see how to send an email meeting invitation to Contacts. Each invitation has a link to accept or decline. Maybe this will help you.

So you mean like you make yourself a contact and sent it to yourself and that would generate out-out link that you can use for plain vanilla e-mails?

Like deeply buried down in the system somewhere?

@PowerQuest

You can

  1. generate link as in the function “set_notification_body” of file “modules/Calls/Call.php”
  2. create entry point as the “acceptDecline”

Not 100% certain of how to do it.
But I’ll start with looking in that file to begin with. I’ll come back and ask if I cannot figure it out.

Thanks a bunch @p.konetskiy