Add an Unsubscribe mail header

Call 01323 872296


Add an Unsubscribe mail header

Email deliverability seems to be an increasing problem these days. One issue that can be flagged by mail-tester.com if you use the email address it gives to send an email from the oeredsr tab in Sellerdeck is that your message does not contain a List-Unsubscribe header.

This is easily remedied in Selerdeck. First you need an unsubscribe email address on your domain. It needs checking regularly so maybe make it a forwarder to your main email address.

unsubscribe@graphicz.co.uk

The you need a URL where the customer can be directed to im order to unsubscribe, either a custom page or maybe the contact us page.

The header will then look something like this

List-Unsubscribe: <mailto: unsubscribe@graphicz.co.uk?subject=unsubscribe>, <http://www.graphicz.co.uk/https://www.graphicz.co.uk/contact.php>

If you open the file ‘SmtpLibrary.pm’ and search for: –

my $mail_headers

You will see all of the email headers there, so I think you should be able to add it just above: –

"MIME-Version: 1.0\n";
my $mail_headers =	"From: $mail_from\n".
"To: $mail_to\n".
"Reply-to: $mail_replyTo\n".
"Subject: ".encode('MIME-Header', $mail_subject)."\n".
"Date: $sNow\n";
"List-Unsubscribe: <mailto: unsubscribe@graphicz.co.uk?subject=unsubscribe>, <https://www.graphicz.co.uk/contact.php>";
"MIME-Version: 1.0\n";

Then upload and test. Provided without warranty express or implied. Thanks to Gary Green at Sellerdeck Support

It is also worth adding a DMARC record to your domain name’s Zome editor:

 _dmarc.graphicz.co.uk  v=DMARC1; p=none

And in the Sellerdeck Page type ‘HTML Email Cart’ remove the cmpany logo leaving the company name in plain text and replace

<actinic:variable name="CatalogHomeURL" />

<actinic:variable name="CatalogURL" />info.html

with the hard coded domain name and info page link as the variables do not always work in the recipient email

Keep in touch and share

Graphicz on Social Media



01323 872296. 07836 551000.
Email:

Website by Graphicz