Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 23, 20159 yr When I try to make a bulk mail - the Unsubscribe link at the bottom of the mail look like this The template looks like this - could anyone point me to what to remove just to get a simple unsubscribe link? {{if isset( $unsubscribe['link'] ) and $unsubscribe['link']}} <tr> <td dir='{dir}' valign="top"><img src='{setting="base_url"}applications/core/interface/email/spacer.png' width='1' height='1' alt=''></td> <td dir='{dir}' valign='middle' align='center' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 12px; line-height: 18px; padding-left: 10px;"> {{if isset( $unsubscribe['blurb'] ) and $unsubscribe['blurb']}}{$unsubscribe['blurb']}<br>{{endif}} {$email->language->addToStack("unsubscribe_blurb", FALSE)} {{if $unsubscribe['link']}}<a href="{$unsubscribe['link']}" style='color: #4a8aca; text-decoration: none; display: inline-block'>{{endif}}{{if $unsubscribe['text']}}{$email->language->addToStack($unsubscribe['text'], FALSE)}{{else}}{$email->language->addToStack("unsubscribe", FALSE)}{{endif}}{{if $unsubscribe['link']}}</a>{{endif}}{{if isset( $unsubscribe['orlink'] ) and $unsubscribe['orlink']}} {$email->language->addToStack("or", FALSE)} <a href="{$unsubscribe['orlink']}" style='color: #4a8aca; text-decoration: none; display: inline-block'>{$email->language->addToStack($unsubscribe['ortext'], FALSE)}</a>{{endif}}. <br /> </td> </tr> {{endif}}
November 25, 20159 yr Author has anyone an idea what the issue might be? I have the same problem even on the latest version.
November 26, 20159 yr Author I found a solution - had to change language in ACP to Norwegian - that solved it.
April 28, 20168 yr Hi Kjell, I wanted to improve a bit my bulk email template - could you tell me what is the name of file/template from which you took a code quote? I guess it is in Customization -> Emails but which Template name then? Thank you, Matt
April 28, 20168 yr Author 6 hours ago, eMCe71 said: Hi Kjell, I wanted to improve a bit my bulk email template - could you tell me what is the name of file/template from which you took a code quote? I guess it is in Customization -> Emails but which Template name then? Thank you, Matt Check Email Wrapper. The issue in my original post is still excisting. I must have Norwegian as language in ACP to get the unsubscribelink to work in the bulkmail template.
April 28, 20168 yr Thank you, got it. And about your problem - in my bulk email editor it looks pretty the same as on your image. But when I am sending it, it's converting to proper form and looks just perfect. Maybe that's not an error? I met with similar 'issues' in other apps like in SendGrid. Have a good one Mat
April 29, 20168 yr Do you use custom language? also do you use mandrill? i got same issue a time ago. When I change my language back to default language it was solved.
Archived
This topic is now archived and is closed to further replies.