Jump to content

Bulk mail template


Kjell Iver Johansen

Recommended Posts

Posted

When I try to make a bulk mail - the Unsubscribe link at the bottom of the mail look like this

56534df708c74_23-11-201518-30-20.jpg.e02

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}}

 

  • 5 months later...
Posted

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

Posted
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.

Posted

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

Posted

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...