• Resolved mymousepad

    (@mymousepad)


    recently emails are coming with code displayed, html is off in settings.

    EXAMPLE:

    Event: Test event

    Date: May 28, 2025

    Details: <p>this is test info typed… not pasted</p> <p>goto https://myvgt.ca to signup</p>

    Task/Item: anothtask

    Start Time: N/A

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mymousepad

    (@mymousepad)

    Although i may have found a fix for the code. I notice now that the Details & Date are included in the Title, then the details start.

    this is the template

    Event: {sheet_title}
    Date: {date}
    Details: {sheet_details}
    Task/Item: {task_title}
    Start Time: {start_time}

    this is the result:

    Event: **event title name here** Date: May 25, 2025 Details:

    Tee times: NOON TBC

    Thread Starter mymousepad

    (@mymousepad)

    fixed the template problem by editing the default template with hard returns.

    Plugin Author DBAR Productions

    (@dbar-productions)

    Sorry for not responding right away… I’m out of the country with no cell service and very limited internet.

    It looks like you got it figured out. Yes, if you set up an email using the HTML editor, line breaks are converted to HTML code tags, so if you switch back to plain text you need to modify the templates to make sure all those HTML tags get removed properly and just use regular plain text line breaks instead.

    Thread Starter mymousepad

    (@mymousepad)

    although i got the email worked out… the CRON email is not, and don’t know where to fix this.

    Volunteer signup sheet CRON job has been completed.

    5 reminder emails were sent.

    Messages Sent:

    To: xxxxxx <xxxxxx.net>

    <p>Dear xxxxxxxxxxxxx,</p>

    <p>This is to remind you that you volunteered for the following:</p>

    <p><strong>Event</strong>: TSAWWASSEN SPRINGS OPEN - 36 Hole Event - RND 1 - SATURDAY</p>

    <p><strong>Date</strong>: May 10, 2025</p>

    <p><strong>Details</strong>: <p>PROFESSIONALS AND AMATEURS</p> <p><strong>Tee Sheet:</strong> <a href="https://golfgenius.com/pairings/1038279/285d5ec089300e15b638269a065708c2/print_email">https://golfgenius.com/pairings/1038279/285d5ec089300e15b638269a065708c2/print_email</a></p>

    <p><strong>Confirmed Tee Times: 7:30am to 11:50am</strong></p> <p><strong>Core Shirt Colour: </strong>NAVY</p> <p><strong>Non-core:</strong> Wear any colour golf shirt.</p>

    <p><strong>NOTES: </strong></p>

    <ul>

    <li>please ask Taylor if you wish to use a golf cart on the course</li> <li>please email us with your sandwich and drink order (e.g. ham or turkey/water, tuna or egg/Gatorade)</li> <li>please check your junk mailboxes often, as our messages sometimes go there</li> </ul></p> <p><strong>YOU HAVE SIGNED UP FOR:</strong></p>

    <p><strong>Task/Item</strong>: Registration</p> <p><strong>Start Time</strong>: 6:30 am</p>

    <p>Comments: </p>

    <p>If you have any questions, please contact: xxxxxx.com</p>

    <p>Thank You!</p>
    Plugin Author DBAR Productions

    (@dbar-productions)

    The CRON email is mostly for debugging for admin, and there is no template for it. It just sends a simple plain text email with a copy of the reminder emails that were sent. I did not update that to use HTML format when I added HTML format to the other emails, as the CRON email doesn’t use the same email function that I use for the other emails.

    That could be a feature request for a future update.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Emails sending code, with HTML OFF’ is closed to new replies.