Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-2310

CiviMail: {action.*subscribeUrl} tokens replaced by empty strings over SMTP

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: CiviMail
    • Labels:
      None

      Description

      The tokens

      {action.unsubscribeUrl}

      and

      {action.resubscribeUrl}

      can now be used in

      {un,re}

      subscribe confirmation templates. These tokens work properly if the confirmed actions were invoked over HTTP, but get replaced by empty strings if the actions were triggered by SMTP.

      This is because over SMTP, the framework is set to SOAP, and CRM_Utils_System_Soap::url() returns null.

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              shot Piotr Szotkowski
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: