nest-mailman icon indicating copy to clipboard operation
nest-mailman copied to clipboard

Built-In Template usage example has a syntax error

Open claudiorivera opened this issue 3 years ago • 0 comments

On the Build Mail usage docs, the Built-In Template code has a syntax error:

const mail = MailMessage.init()
    .greeting('Hello Sarah,')
    .line("You've received a new enquiry")
    .line('Summary: The product looks promising! would love to setup a call to discuss more')
    .action('View Enquiry', 'https://app.test.in/admin/queries/123'); // <-- This semicolon should be removed
    .subject('INVOICE PAID: #12345');

claudiorivera avatar Jan 06 '22 19:01 claudiorivera