It is possible to customize the e-mail sent from your mailback setup by adding HTML and variables.
- Image with link: <a href="URL"><img src="NAME.png" align="left" alt="Logo" style="width:400px;height:auto;border:0px;"></a> (src must contain the full path to an online image)
- Link: <a href="URL">name of link</a>
- Image: <img src="NAME.png" align="left" alt="Logo" style="width:400px;height:auto;border:0px;"> (src must contain the full path to an online image)
- Font: <p style="font:Yu Gothic Light; font-size: 14px;">
- Table: <table style="width:500px; font:Yu Gothic Light; font-size: 14px; border-bottom: dotted #000000;">
- Linebreak in default text will push the text down.
- Tracking in Portal: <a href="https://www.consignorportal.com/ui/sv/s?pp=XXXXX=40170726209226006283">tracking url</a>. Replace 40170726209226006283 with e.g. @@fld_ShipmentNumber@@. If the carrier only uses package number, replace with @@fld_FirstPackageNum@@. Note that XXXXX in the example must be replaced with your unique code. Read here how to create a public tracking URL to use for Mailback.
- Tracking link to carrier. Same as track and trace link to Portal but replace with link to carrier, e.g. <a href="https://tracking.postnord.com/?id==@@fld_FirstPackageNum@@">@@ fld_FirstPackageNum @@</a>
- Data from On-premises: @@fld_ShipmentNumber@@ change fld_ShipmentNumber with the data you want, go to production view / hit [Ctrl + alt + shift + f] to see field names
- @@fld_AdrPayerAddress1@@
- @@fld_ProdCarrier@@
- @@fld_AdrAttention@@
- @@fld_AdrName1@@
- @@fld_AdrPostNo@@
- @@fld_AdrCity@@
- @@fld_AdrSenderAddress1@@
- See the complete list of field names here.
Example
To make the example above, remove all the text in the signature and remove all fields under Field selection tab and copy the text below into Mail Heading:
<img src="http://support.consignor.com/scripts/customer.fcgi/getAttachment/479648-Wcbi6561INuSq8o1rs3UmTM0xmI3CKydK7o0ZhplU7Sij9Hggow1CF1Po4QzJtDu-0/Consignor-mailbackcustom21.png" align="left" alt="Consignor AS" style="width:auto;height:auto;border:0px;">
<p style="font:Open Sans Regular; font-weight:400; color:#666666; font-size: 13px; ">Dear @@fld_AdrAttention@@, @@fld_AdrName1@@
We would like to inform you that your order has now been shipped.
<table style="width:500px; font:Open Sans Regular; font-weight:400; color:#666666; font-size: 13px; border-bottom: 1px solid #000000;"><tr><td><b>To:</b></td><td>Address: @@fld_AdrAddress1@@</td><td>Postnumber: @@fld_AdrPostNo@@, @@fld_AdrCity@@</td></tr><tr><td><b>From:</b></td><td>Address: @@fld_AdrSenderAddress1@@</td><td>postnumber: @@fld_AdrSenderPostNo@@, @@fld_AdrSenderCity@@</td></tr></table>
Your package is on its way to @@fld_ProdCarrier@@, it is being sendt with @@fld_ProdProduct@@.
approximately time for delivery is <b>between 2-3 work days</b>.
you can track your package with this ShipmentNumber: <b><a href="http://www.bring.no/sok?q=@@fld_ShipmentNumber@@">@@fld_ShipmentNumber@@</a></b>
Thank you for choosing Consignor as your EDI system delivery
Best regards:
<a href="http://www.consignor.no"><img src="http://support.consignor.com/scripts/customer.fcgi/getAttachment/479655-3H9jaui0LiXq3ESdsFMajW6T80E75Wu9AdutrztW31xlTpK4BGdaQEl8IaIC0zwm-0/Consignor-mailbackcustom22.png" align="left" alt="Consignor AS" style="width:auto;height:auto;border:0px;"></a>
</p>
More articles about Mailback: