Can't Update HTML Emails

John Hurley's Avatar

John Hurley

17 Dec, 2013 03:57 PM

I was told this was a known error about being able to copy and paste HTML into the email editor all at once. So I started to do it in chunks, and now I can't even add one line or one word.

Please help. This has to get resolved or we not going to have a choice put to look elsewhere for this service.

NOTE: 500 Error - Please retry later

  1. 1 Posted by Jess Pendley on 17 Dec, 2013 04:23 PM

    Jess Pendley's Avatar

    Hi John --

    Would you mind attaching what you're attempting to add?

    Thank you.

  2. 2 Posted by John Hurley on 17 Dec, 2013 04:25 PM

    John Hurley's Avatar

    Jess,

    Attached is what I am trying to copy/paste.

    John H. Hurley
    SmartFile
    Twitter | @johnhurley
    Office | 877-336-3453 x722
    www.smartfile.com

    The Online File Platform™

  3. 3 Posted by Jess Pendley on 17 Dec, 2013 04:36 PM

    Jess Pendley's Avatar

    Hi John --

    The attached isn't HTML, would you mind attaching the HTML that you are trying to add?

    Thank you.

  4. 4 Posted by John Hurley on 17 Dec, 2013 04:37 PM

    John Hurley's Avatar

    If you open the file, it is written in HTML.

  5. 5 Posted by Jess Pendley on 17 Dec, 2013 04:40 PM

    Jess Pendley's Avatar

    Hi John --

    I'm sorry for the misunderstanding on my part, but when I open the file in my text editor, it still appears to not be written in HTML.

  6. 6 Posted by John Hurley on 17 Dec, 2013 04:42 PM

    John Hurley's Avatar

    I just re-saved it as HTML. See if that helps.

    John H. Hurley

    SmartFile
    Twitter | @johnhurley
    Office | 877-336-3453 x722
    www.smartfile.com

    The Online File Platform™

  7. 7 Posted by Jess Pendley on 17 Dec, 2013 04:55 PM

    Jess Pendley's Avatar

    Hi John --

    That helped. Just to verify, you're attempting to overwrite what is currently in your "Payment Receipt" HTML template with the script that you just sent, is that correct? I'm asking because I am going to attempt to do the same on my end and see if the response is replicated.

  8. Support Staff 8 Posted by Marc Guyer on 17 Dec, 2013 04:59 PM

    Marc Guyer's Avatar

    Hi John -- Unfortunately when an error is fatal, like a syntax error, you'll see that 500 error and we have to dig into our logs to find it for you. In this case, its:

    unclosed {if} tag

    I'm guessing that's on the ccCompany line. Providing better error reporting in cases like this is on our todo list. In the meantime, please don't hesitate to ask for help if this comes up again.

  9. 9 Posted by John Hurley on 18 Dec, 2013 07:41 PM

    John Hurley's Avatar

    Yes, but because I can't copy the entire document I am forced to add line, by line. So I am trying to add {if $subscription.ccCompany} <br> under {$subscription.ccFirstName} {$subscription.ccLastName}<br> and I keep getting the 500 error.

    Can you please just add the document to your system?

    John H. Hurley
    SmartFile
    Twitter | @johnhurley
    Office | 877-336-3453 x722
    www.smartfile.com

    The Online File Platform™

  10. Support Staff 10 Posted by Marc Guyer on 18 Dec, 2013 08:54 PM

    Marc Guyer's Avatar

    Hi John -- You'll need to close that {if} statement. Maybe something like this:

    <table WIDTH="100%">
        <tr>
            <td align="left" valign="top">
            <p><b>SmartFile</b><br>
            212 W. 10th St. C400<br>
            Indianapolis, IN 46202<br>
            </td>
            <td align="right" valign="top">
                <font size="4"><b>RECEIPT</b>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <b>Site Address:</b>  {$product.code}<br>
                <b>Billing Email:</b>   {$customer.email}
            </td>
        </tr>
        <tr>
            <td colspan="2"><hr></td>
        </tr>
        <tr>
            <td align="left" valign="top">
                <b>Invoice #</b> {$invoice.invoiceNumber}
            </td>
            <td align="right" valign="top">
                <b>{$invoice.billingDatetime}</b>
            </td>
        </tr>
        <tr>
            <td colspan="2"><hr></td>
        </tr>
        <tr>
            <td colspan="2">
                <p>
                    <b>Billed To:</b><br>
                    {$subscription.ccFirstName} {$subscription.ccLastName}<br>
                    {if $subscription.ccCompany}{$subscription.ccCompany}<br>{/if}
                    {$subscription.ccAddress}<br>
                    {$subscription.ccCity}, {$subscription.ccState} {$subscription.ccZip}
                </p>
    
                <p>
                    Credit Card Info:  {$subscription.ccType|upper} ***{$subscription.ccLastFour}
                </p>
            </td>
        </tr>
    </table>
    
  11. Jess Pendley closed this discussion on 06 Jun, 2014 03:27 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM