(OFBIZ-9804) Changes ContactListEmailTemplate.ftl to also use GET. Because we dont' want a form to ask, but only to hide parameters. See details in Jira. Handles the emails also in ecomseo after OFBIZ-11278 I have still to see why I get this message at the end of the process: "Invalid verify code for the New Product Announcements" ie when using the link in the last (3rd) email: "Subscribe Contact List New Product Announcements" This will be another Jira..!
33 lines
1.7 KiB
Plaintext
33 lines
1.7 KiB
Plaintext
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<body>
|
|
<p>Hello ${partyName.firstName!} ${partyName.lastName!} ${partyName.groupName!}!</p>
|
|
<p>Successfully subscribed from ${contactList.contactListName} contact list.</p>
|
|
<#if baseLocation == "/ecomseo">
|
|
<#assign baseLocation = "/ecommerce">
|
|
</#if>
|
|
<#assign verifyUrl = baseEcommerceSecureUrl +'updateContactListPartyNoUserLogin?contactListId='+contactListParty.contactListId+'&partyId='+contactListParty.partyId+'&fromDate='+contactListParty.fromDate+'&statusId=CLPT_UNSUBS_PENDING&optInVerifyCode='+contactListPartyStatus.optInVerifyCode+'&baseLocation='+baseLocation!>
|
|
<#if (contactListParty.preferredContactMechId)??>
|
|
<#assign verifyUrl= verifyUrl+"&preferredContactMechId="+contactListParty.preferredContactMechId>
|
|
</#if>
|
|
<a href="${verifyUrl}">If this was by mistake, click here to unsubscribe your subscription again.</a>
|
|
</body>
|
|
</html>
|