0

Email attachments

Hi all,

is it possible, through the email field, to automatically attach the pdf generated with the print?

Thanks

7 replies

null
    • Agus
    • 6 yrs ago
    • Reported - view

    This will be added in the next update.

    • andreas_huemer
    • 6 yrs ago
    • Reported - view

    Hi there,

    I'm looking for the same thin, when will you release the update?

    • Yuri
    • 6 yrs ago
    • Reported - view

    I'm too!

    • Sakshi_Singh
    • 6 yrs ago
    • Reported - view

    Hi, This feature is live. Please create a button (from layout element) and use this script in it's formula:

    ======================

    let myEmail := userEmail();
    let myPdf := printAndSaveRecord(this, "name_of_your_print_layout");
    let myName := "give_any_name-" + ".pdf";
    importFile(this, myPdf, myName);
    sendEmail({
    from: myEmail,
    to: Customer.Email,
    subject: "New Invoice",
    text: "Type_your_text_here",
    attachments: file(this, myName)
    });

    ======================

    Please join the webinar for more tips on this feature, https://zoom.us/webinar/register/WN_zoSk2qyNSz6vLRFF1zlakg

     

    Regards,

    Ninox

    • andreas_huemer
    • 6 yrs ago
    • Reported - view

    Thanks a lot, it almost works the way it should :) 

    I will have a look at the webinar but it seems the script doesn't allow multiple recipients and scriptet subjects for exampel Protokol (Nr) from (Project).... but I'm not an expert in scripting I have to say.

    • Support
    • 6 yrs ago
    • Reported - view

    Hi, 

    You can use the statement abouve in a loop in order to use it for more then one recipients at once.

    If you are going to join the webinar, it would be good to raise your hand there and get live Support to help you achieving this.

    Best, Jörg

    • Simon_Payne
    • 5 yrs ago
    • Reported - view

    This is not working for me. I assume this is because I am not a Ninox Cloud user. I am a sole trader that does not need to subscribe.  Will the Function SendEmail be availabel to a non subscriber?

     

    From Reference of Function Page. 

    Functions to send e-mails **
    sendEmail({
    from: "recipient@domain.com",
    to: "recipient@domain.com",
    subject: "Hello World!",
    text: "Some text",
    html: "<h1>Some Text</h1><i>With Markup</i>"
    })

    ** (only available in Ninox Cloud/Ninox Server teams)

Content aside

  • 5 yrs agoLast active
  • 7Replies
  • 3232Views