-
Please help, very confused is this HTML correct?
Bad news I have put them into that folder and have the same result, however I just did a random test and sent one that wasn't working before in the images/ folder and it is working for one of the email templates but not the others I am so confused.
-
Please help, very confused is this HTML correct?
Yes that does appear on the email, I think you might have just shed light on this for me. So the images need to be in that path for them to appear?
-
Please help, very confused is this HTML correct?
The domain is still in the code for each image though isn't it? I have just tried that with no luck unfortunately, thanks though.
-
Please help, very confused is this HTML correct?
Okay this is what I get when I check the HTML from the other end: <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <style type="text/css"> body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; } </style> <title>Madrok - Madrok: New Order # 100000006</title> </head> <body style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;" text="#000000" bgcolor="#FFFFFF"> <div style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;"> <table cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="padding:20px 0 20px 0" valign="top" align="center"> <table style="border:1px solid #E0E0E0;" cellpadding="10" cellspacing="0" width="650" bgcolor="#FFFFFF" border="0"> <!-- [ header starts here] --> <tbody> <tr> <td valign="top"><a href="http://madrok.co.uk/index.php/"><img src="http://madrok.co.uk/skin/frontend/base/default/images/logo_email.gif" alt="Madrok" style="margin-bottom:10px;" border="0"></a></td> </tr> <!-- [ middle starts here] --> <tr> <td valign="top"> <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;" "="">Hello, Nick Maddren</h1> <p style="font-size:12px; line-height:16px; margin:0;"> Thank you for your order from Madrok. Once your package ships we will send an email with a link to track your order. You can check the status of your order by <a href="https://madrok.co.uk/index.php/customer/account/" style="color:#1E7EC8;">logging into your account</a>. If you have any questions about your order please contact us at <a href="mailto:customersupport@madrok.co.uk" style="color:#1E7EC8;">customersupport@madrok.co.uk</a> or call us at <span class="nobr">01642927747</span> Monday - Friday, 8am - 5pm PST. </p> <p style="font-size:12px; line-height:16px; margin:0;">Your order confirmation is below. Thank you again for your business.</p> </td> </tr> <tr> <td> <h2 style="font-size:18px; font-weight:normal; margin:0;">Your Order #100000006 <small>(placed on 13 January 2014 19:57:33 GMT)</small></h2> </td> </tr> <tr> <td> <table cellpadding="0" cellspacing="0" width="650" border="0"> <thead> <tr> <th style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;" width="325" align="left" bgcolor="#EAEAEA">Billing Information:</th> <th width="10"><br> </th> <th style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;" width="325" align="left" bgcolor="#EAEAEA">Payment Method:</th> </tr> </thead> <tbody> <tr> <td style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;" valign="top"> Nick Maddren<br> 31 Millston Close<br> Hartlepool, ts260px<br> United Kingdom<br> T: 0293736262 </td> <td> </td> <td style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;" valign="top"> <p><strong>PayPal Website Payments Standard</strong></p> <table> <tbody> <tr> <th><strong>Payer Email:</strong></th> </tr> <tr> <td>haxin@hotmail.co.uk</td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <br> <table cellpadding="0" cellspacing="0" width="650" border="0"> <thead> <tr> <th style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;" width="325" align="left" bgcolor="#EAEAEA">Shipping Information:</th> <th width="10"><br> </th> <th style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;" width="325" align="left" bgcolor="#EAEAEA">Shipping Method:</th> </tr> </thead> <tbody> <tr> <td style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;" valign="top"> Nick Maddren<br> 31 Millston Close<br> Hartlepool, ts260px<br> United Kingdom<br> T: 0293736262 </td> <td> </td> <td style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;" valign="top"> Flat Rate - Fixed </td> </tr> </tbody> </table> <br> <table style="border:1px solid #EAEAEA;" cellpadding="0" cellspacing="0" width="650" border="0"> <thead> <tr> <th style="font-size:13px; padding:3px 9px" align="left" bgcolor="#EAEAEA">Item</th> <th style="font-size:13px; padding:3px 9px" align="left" bgcolor="#EAEAEA">Sku</th> <th style="font-size:13px; padding:3px 9px" align="center" bgcolor="#EAEAEA">Qty</th> <th style="font-size:13px; padding:3px 9px" align="right" bgcolor="#EAEAEA">Subtotal</th> </tr> </thead> <tbody bgcolor="#F6F6F6"> <tr> <td style="font-size:11px; padding:3px 9px; border-bottom:1px dotted #CCCCCC;" valign="top" align="left"> <strong style="font-size:11px;">ASUS Radeon R9 270X DirectCU II</strong> </td> <td style="font-size:11px; padding:3px 9px; border-bottom:1px dotted #CCCCCC;" valign="top" align="left">109111</td> <td style="font-size:11px; padding:3px 9px; border-bottom:1px dotted #CCCCCC;" valign="top" align="center">1</td> <td style="font-size:11px; padding:3px 9px; border-bottom:1px dotted #CCCCCC;" valign="top" align="right"> <span class="price">£158.00</span> </td> </tr> </tbody> <tbody> <tr class="subtotal"> <td colspan="3" style="padding:3px 9px" align="right"> Subtotal </td> <td style="padding:3px 9px" align="right"> <span class="price">£158.00</span> </td> </tr> <tr class="shipping"> <td colspan="3" style="padding:3px 9px" align="right"> Shipping & Handling </td> <td style="padding:3px 9px" align="right"> <span class="price">£5.00</span> </td> </tr> <tr class="grand_total"> <td colspan="3" style="padding:3px 9px" align="right"> <strong>Grand Total</strong> </td> <td style="padding:3px 9px" align="right"> <strong><span class="price">£163.00</span></strong> </td> </tr> </tbody> </table> </td> </tr> <tr> <td style="background:#EAEAEA; text-align:center;" align="center" bgcolor="#EAEAEA"> <center> <p style="font-size:12px; margin:0;">Thank you, <strong>Madrok</strong></p> <p>Unit 31 Millston Close, Hartlepool, TS260PX</p> <p><a href="https://www.madrok.co.uk">www.Madrok.co.uk</a></p> <p><a href="https://www.madrok.co.uk"> <br> </a><a href="https://www.facebook.com/madrokuk"><img src="/images/fb.png" alt="Facebook" width="48" border="0" height="48"></a><a> </a><a href="https://twitter.com/MadrokUK"><img src="/images/twitter.png" alt="Twitter" width="48" border="0" height="48"></a><a> </a><a href="http://www.youtube.com/channel/UCFwPI9hOKTV1K1bjjmuq8fA"><img src="/images/youtube.png" alt="Youtube" width="48" border="0" height="48"></a></p> </center> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </div> </body> </html>
-
Please help, very confused is this HTML correct?
This is the whole email code, with the parts Magento has added and still a little confused why this isn't working: <body style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;"> <div style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;"> <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%"> <tr> <td align="center" valign="top" style="padding:20px 0 20px 0"> <!-- [ header starts here] --> <table bgcolor="#FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #E0E0E0;"> <tr> <td valign="top"><a href="{{store url=""}}"><img src="images/logo_email.gif" alt="{{var logo_alt}}" style="margin-bottom:10px;" border="0"/></a></td> </tr> <!-- [ middle starts here] --> <tr> <td valign="top"> <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;"">Hello, {{htmlescape var=$order.getCustomerName()}}</h1> <p style="font-size:12px; line-height:16px; margin:0;"> Thank you for your order from {{var store.getFrontendName()}}. Your order has been dispatched you can check the status of your order by <a href="{{store url="customer/account/"}}" style="color:#1E7EC8;">logging into your account</a>. If you have any questions about your order please contact us at <a href="mailto:{{config path='trans_email/ident_support/email'}}" style="color:#1E7EC8;">{{config path='trans_email/ident_support/email'}}</a> or call us at <span class="nobr">{{config path='general/store_information/phone'}}</span> Monday - Friday, 9am - 5pm GMT. </p> <p style="font-size:12px; line-height:16px; margin:0;"> Your shipping confirmation is below. Thank you again for your business. </p> </td> </tr> <tr> <td> <h2 style="font-size:18px; font-weight:normal; margin:0;">Your Shipment #{{var shipment.increment_id}} for Order #{{var order.increment_id}}</h2> </td> </tr> <tr> <td> <table cellspacing="0" cellpadding="0" border="0" width="650"> <thead> <tr> <th align="left" width="325" bgcolor="#EAEAEA" style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;">Billing Information:</th> <th width="10"></th> <th align="left" width="325" bgcolor="#EAEAEA" style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;">Payment Method:</th> </tr> </thead> <tbody> <tr> <td valign="top" style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;"> {{var order.billing_address.format('html')}} </td> <td> </td> <td valign="top" style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;"> {{var payment_html}} </td> </tr> </tbody> </table> <br/> <table cellspacing="0" cellpadding="0" border="0" width="100%"> <thead> <tr> <th align="left" width="325" bgcolor="#EAEAEA" style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;">Shipping Information:</th> <th width="10"></th> <th align="left" width="325" bgcolor="#EAEAEA" style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;">Shipping Method:</th> </tr> </thead> <tbody> <tr> <td valign="top" style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;"> {{var order.shipping_address.format('html')}} </td> <td> </td> <td valign="top" style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;"> {{var order.shipping_description}} </td> </tr> </tbody> </table> <br/> {{layout handle="sales_email_order_shipment_items" shipment=$shipment order=$order}} {{block type='core/template' area='frontend' template='email/order/shipment/track.phtml' shipment=$shipment order=$order}} <p style="font-size:12px; margin:0 10px 10px 0">{{var comment}}</p> </td> </tr> <tr> <td bgcolor="#EAEAEA" align="center" style="background:#EAEAEA; text-align:center;"><center><p style="font-size:12px; margin:0;">Thank you, <strong>{{var store.getFrontendName()}}</strong><p>{{config path="general/store_information/address"}}<p/><p><a href="https://twitter.com/MadrokUK"><img src="http://www.madrok.co.uk/images/twitter.png" alt="Twitter" width="48" height="48" /></a> <a href="https://www.facebook.com/madrokuk"><img title="Facebook" src="http://www.madrok.co.uk/images/fb.png" alt="Facebook" width="48" height="48" /></a> <a href="http://www.youtube.com/channel/UCFwPI9hOKTV1K1bjjmuq8fA"><img title="Youtube" src="http://www.madrok.co.uk/images/youtube.png" alt="Youtube" width="48" height="48" /></a></p></center></td></p></center></td> </tr> </table> </td> </tr> </table> </div> </body>
-
Please help, very confused is this HTML correct?
Well my logo shows at the top however that is coded using a variable from Magento, I've tried using Hotmail and Thunderbird with no results I feel so confused haha.
-
Please help, very confused is this HTML correct?
Hello I am knew here, I am using Magento and changing the default email templates and I am embedding some images at the footer with this code: <p><a href="https://twitter.com/MadrokUK"><img src="http://www.madrok.co.uk/images/twitter.png" alt="Twitter" width="48" height="48" /></a> <a href="https://www.facebook.com/madrokuk"><img title="Facebook" src="http://www.madrok.co.uk/images/fb.png" alt="Facebook" width="48" height="48" /></a> <a href="http://www.youtube.com/channel/UCFwPI9hOKTV1K1bjjmuq8fA"><img title="Youtube" src="http://www.madrok.co.uk/images/youtube.png" alt="Youtube" width="48" height="48" /></a></p> Now all I seem to get is this at the bottom of the email when it's actually sent: However when I preview it in Magento it appears fine. Any idea why this might be happening I'm so confused by it, thanks!