[{"data":1,"prerenderedAt":935},["ShallowReactive",2],{"navigation":3,"nuxt-content:/docs/craftform/script/mail":588,"/docs/craftform/script/mail-surround":931},[4,549,581],{"title":5,"_path":6,"children":7},"🎓docs","/docs",[8,10,13,42,102,114,173,248,512,546],{"title":9,"_path":6},"🚸Welcome",{"title":11,"_path":12},"⚡Quickstart⚡","/docs/quickstart",{"title":14,"_path":15,"children":16},"✅checklist","/docs/checklist",[17,20,23,27,30,33,36,39],{"title":18,"_path":19},"assert","/docs/checklist/assert",{"title":21,"_path":22},"Deep assert","/docs/checklist/assert_deep",{"title":24,"_path":25,"icon":26},"Check","/docs/checklist/check",null,{"title":28,"_path":29},"filter","/docs/checklist/filter",{"title":31,"_path":32},"format fields","/docs/checklist/format_fields",{"title":34,"_path":35},"intro checklist","/docs/checklist/intro",{"title":37,"_path":38},"Shortcuts","/docs/checklist/shortcuts",{"title":40,"_path":41},"show","/docs/checklist/show",{"title":43,"_path":44,"children":45},"🔠craftform","/docs/craftform",[46,48,51,54,57,60,63,66,69,93,96,99],{"title":47,"_path":44},"craftform",{"title":49,"_path":50},"Simple","/docs/craftform/simple",{"title":52,"_path":53},"behaviour","/docs/craftform/api_behaviour",{"title":55,"_path":56},"Checklist","/docs/craftform/checklist",{"title":58,"_path":59},"craftform delegation","/docs/craftform/delegation",{"title":61,"_path":62},"ICraftContext","/docs/craftform/icraftcontext",{"title":64,"_path":65},"Info","/docs/craftform/info",{"title":67,"_path":68},"ppw-wizard-craft","/docs/craftform/ppw_wizard_craft",{"title":70,"_path":71,"children":72},"📜script.py","/docs/craftform/script",[73,75,78,81,84,87,90],{"title":74,"_path":71},"Introduction to script.py",{"title":76,"_path":77},"delivery","/docs/craftform/script/delivery",{"title":79,"_path":80},"drop_file()","/docs/craftform/script/drop_file",{"title":82,"_path":83},"generate","/docs/craftform/script/generate",{"title":85,"_path":86},"mail","/docs/craftform/script/mail",{"title":88,"_path":89},"Signature","/docs/craftform/script/signature",{"title":91,"_path":92},"Template","/docs/craftform/script/template",{"title":94,"_path":95},"signature","/docs/craftform/signature",{"title":97,"_path":98},"Spreadsheet","/docs/craftform/spreadsheet",{"title":100,"_path":101},"template","/docs/craftform/template",{"title":103,"_path":104,"children":105},"🔨forge","/docs/forge",[106,108,111],{"title":107,"_path":104},"Forge",{"title":109,"_path":110},"Scrap","/docs/forge/scrap",{"title":112,"_path":113},"shortcuts","/docs/forge/shortcuts",{"title":115,"_path":116,"children":117},"🔏signature","/docs/signature",[118,121,124,170],{"title":119,"_path":120},"Intro","/docs/signature/intro",{"title":122,"_path":123},"Development","/docs/signature/dev",{"title":125,"_path":126,"children":127},"Providers","/docs/signature/providers",[128,131,134,137,140,143,146,149,152,155,158,161,164,167],{"title":129,"_path":130},"Chambersign","/docs/signature/providers/chambersign",{"title":132,"_path":133},"Chave Mobile Digital","/docs/signature/providers/chavemovedigital",{"title":135,"_path":136},"Docage","/docs/signature/providers/docage",{"title":138,"_path":139},"Docaposte","/docs/signature/providers/docaposte",{"title":141,"_path":142},"External Signature","/docs/signature/providers/external",{"title":144,"_path":145},"Fake Signature","/docs/signature/providers/fake",{"title":147,"_path":148},"HelloSign","/docs/signature/providers/hellosign",{"title":150,"_path":151},"JeSignexpert","/docs/signature/providers/jesignexpert",{"title":153,"_path":154},"lex-community","/docs/signature/providers/lex-community",{"title":156,"_path":157},"Lex persona","/docs/signature/providers/lexpersona",{"title":159,"_path":160},"Luxtrust","/docs/signature/providers/luxtrust",{"title":162,"_path":163},"Pandadoc","/docs/signature/providers/pandadoc",{"title":165,"_path":166},"Universign","/docs/signature/providers/universign",{"title":168,"_path":169},"Yousign","/docs/signature/providers/yousign",{"title":171,"_path":172},"Workflow","/docs/signature/workflow",{"title":174,"_path":175,"children":176},"🌐ref","/docs/ref",[177,180,205,208,242,245],{"title":178,"_path":179},"flexpath","/docs/ref/flexpath",{"title":181,"_path":182,"children":183},"Modules","/docs/ref/modules",[184,187,190,193,196,199,202],{"title":185,"_path":186},"attachment","/docs/ref/modules/attachment",{"title":188,"_path":189},"certificate","/docs/ref/modules/certificate",{"title":191,"_path":192},"checklist_include","/docs/ref/modules/checklist_include",{"title":194,"_path":195},"factur-x","/docs/ref/modules/facturx",{"title":197,"_path":198},"fec","/docs/ref/modules/fec",{"title":200,"_path":201},"olap","/docs/ref/modules/olap",{"title":203,"_path":204},"photo","/docs/ref/modules/photo",{"title":206,"_path":207},"S3 bucket","/docs/ref/ref",{"title":209,"_path":210,"children":211},"Roles","/docs/ref/roles",[212,215,218,221,224,227,230,233,235,236,239],{"title":213,"_path":214},"ADMIN","/docs/ref/roles/admin",{"title":216,"_path":217},"ANON","/docs/ref/roles/anon",{"title":219,"_path":220},"Role AUTHENTICATED","/docs/ref/roles/authenticated",{"title":222,"_path":223},"CHECK","/docs/ref/roles/check",{"title":225,"_path":226},"CRAFT","/docs/ref/roles/craft",{"title":228,"_path":229},"DEV","/docs/ref/roles/dev",{"title":231,"_path":232},"DOCUMENTS","/docs/ref/roles/documents",{"title":222,"_path":234},"/docs/ref/roles/home",{"title":209,"_path":210},{"title":237,"_path":238},"NOBANNER","/docs/ref/roles/nobaner",{"title":240,"_path":241},"*","/docs/ref/roles/wildcard",{"title":243,"_path":244},"visibility","/docs/ref/visibility",{"title":246,"_path":247},"Exemple visibilité","/docs/ref/visibility_case",{"title":249,"_path":250,"children":251},"🌐portal","/docs/portal",[252,255,466,469,484,487,490,506,509],{"title":253,"_path":254},"banner","/docs/portal/banner",{"title":256,"_path":257,"children":258},"\u003C>components","/docs/portal/components",[259,269,282,304,317,319,338,351,361,364,367,370,373,376,379,382,385,388,391,394,397,400,403,406,409,412,419,441],{"title":260,"_path":261,"children":262},"\u003Cppw-cardgame-*>","/docs/portal/components/cardgame",[263,266],{"title":264,"_path":265},"\u003Cppw-cardgame-deck>","/docs/portal/components/cardgame/ppw-cardgame-deck",{"title":267,"_path":268},"\u003Cppw-cardgame-single>","/docs/portal/components/cardgame/ppw-cardgame-single",{"title":270,"_path":271,"children":272},"\u003Cppw-gallery-*>","/docs/portal/components/gallery",[273,276,279],{"title":274,"_path":275},"\u003Cppw-carroussel>","/docs/portal/components/gallery/ppw-carroussel",{"title":277,"_path":278},"\u003Cppw-gallery-browser>","/docs/portal/components/gallery/ppw-gallery-browser",{"title":280,"_path":281},"\u003Cppw-gallery-products>","/docs/portal/components/gallery/ppw-gallery-products",{"title":283,"_path":284,"children":285},"\u003Cppw-hero-*>","/docs/portal/components/hero",[286,289,292,295,298,301],{"title":287,"_path":288},"\u003Cppw-hero-proposition-section>","/docs/portal/components/hero/ppw-hero-proposition-section",{"title":290,"_path":291},"\u003Cppw-hero0>","/docs/portal/components/hero/ppw-hero0",{"title":293,"_path":294},"\u003Cppw-hero3>","/docs/portal/components/hero/ppw-hero3",{"title":296,"_path":297},"\u003Cppw-hero4>","/docs/portal/components/hero/ppw-hero4",{"title":299,"_path":300},"\u003Cppw-hero5>","/docs/portal/components/hero/ppw-hero5",{"title":302,"_path":303},"\u003Cppw-hero6>","/docs/portal/components/hero/ppw-hero6",{"title":305,"_path":306,"children":307},"Icon","/docs/portal/components/icon",[308,311,314],{"title":309,"_path":310},"\u003Cppw-icon-checklist>","/docs/portal/components/icon/ppw-icon-checklist",{"title":312,"_path":313},"\u003Cppw-icon-craftform>","/docs/portal/components/icon/ppw-icon-craftform",{"title":315,"_path":316},"\u003Cppw-icon-document>","/docs/portal/components/icon/ppw-icon-document",{"title":318,"_path":257},"Components",{"title":320,"_path":321,"children":322},"\u003Cppw-input-*>","/docs/portal/components/input",[323,326,329,332,335],{"title":324,"_path":325},"intro","/docs/portal/components/input/intro",{"title":327,"_path":328},"\u003Cppw-input>","/docs/portal/components/input/ppw-input",{"title":330,"_path":331},"\u003Cppw-input-craftform>","/docs/portal/components/input/ppw-input-craftform",{"title":333,"_path":334},"\u003Cppw-input-path>","/docs/portal/components/input/ppw-input-path",{"title":336,"_path":337},"\u003Cppw-input-user>","/docs/portal/components/input/ppw-input-user",{"title":339,"_path":340,"children":341},"\u003Cppw-pdf-*>","/docs/portal/components/pdf",[342,345,348],{"title":343,"_path":344},"\u003Cppw-pdf-link>","/docs/portal/components/pdf/ppw-pdf-link",{"title":346,"_path":347},"\u003Cppw-pdf-links>","/docs/portal/components/pdf/ppw-pdf-links",{"title":349,"_path":350},"\u003Cppw-pdfview>","/docs/portal/components/pdf/ppw-pdfview",{"title":352,"_path":353,"children":354},"Playground","/docs/portal/components/playground",[355,358],{"title":356,"_path":357},"ppw-playground-checklist-result","/docs/portal/components/playground/ppw-playground-checklistresult",{"title":359,"_path":360},"ppw-playground-main","/docs/portal/components/playground/ppw-playground-main",{"title":362,"_path":363},"\u003Cppw-alert>","/docs/portal/components/ppw-alert",{"title":365,"_path":366},"\u003Cppw-benefits-section>","/docs/portal/components/ppw-benefits-section",{"title":368,"_path":369},"\u003Cppw-carousel>","/docs/portal/components/ppw-carousel",{"title":371,"_path":372},"\u003Cppw-editor>","/docs/portal/components/ppw-editor",{"title":374,"_path":375},"\u003Cppw-factice>","/docs/portal/components/ppw-factice",{"title":377,"_path":378},"\u003Cppw-features-section>","/docs/portal/components/ppw-features-section",{"title":380,"_path":381},"\u003Cppw-fullscreen>","/docs/portal/components/ppw-fullscreen",{"title":383,"_path":384},"\u003Cppw-json-editor>","/docs/portal/components/ppw-json-editor",{"title":386,"_path":387},"\u003Cppw-json-schema-form>","/docs/portal/components/ppw-json-schema-form",{"title":389,"_path":390},"\u003Cppw-mermaid>","/docs/portal/components/ppw-mermaid",{"title":392,"_path":393},"\u003Cppw-metric>","/docs/portal/components/ppw-metric",{"title":395,"_path":396},"\u003Cppw-modal>","/docs/portal/components/ppw-modal",{"title":398,"_path":399},"\u003Cppw-pubkey>","/docs/portal/components/ppw-pubkey",{"title":401,"_path":402},"\u003Cppw-roles>","/docs/portal/components/ppw-roles",{"title":404,"_path":405},"\u003Cppw-social-share>","/docs/portal/components/ppw-social-share",{"title":407,"_path":408},"\u003Cppw-viz>","/docs/portal/components/ppw-viz",{"title":410,"_path":411},"\u003Cppw-wizard-craft>","/docs/portal/components/ppw-wizard-craft",{"title":413,"_path":414,"children":415},"Showcase","/docs/portal/components/showcase",[416],{"title":417,"_path":418},"\u003Cppw-showcase-check>","/docs/portal/components/showcase/ppw-showcase-check",{"title":420,"_path":421,"children":422},"Sign","/docs/portal/components/sign",[423,426,429,432,435,438],{"title":424,"_path":425},"ppw-sign-account","/docs/portal/components/sign/ppw-sign-account",{"title":427,"_path":428},"ppw-sign-account-detail","/docs/portal/components/sign/ppw-sign-account-detail",{"title":430,"_path":431},"ppw-sign-accounts","/docs/portal/components/sign/ppw-sign-accounts",{"title":433,"_path":434},"ppw-sign-provider","/docs/portal/components/sign/ppw-sign-provider",{"title":436,"_path":437},"ppw-sign-workflow","/docs/portal/components/sign/ppw-sign-workflow",{"title":439,"_path":440},"ppw-sign-workflow-item","/docs/portal/components/sign/ppw-sign-workflow-item",{"title":442,"_path":443,"children":444},"\u003Cppw-svg/anim-*>","/docs/portal/components/svg_anim",[445,448,451,454,457,460,463],{"title":446,"_path":447},"\u003Cppw-anim>","/docs/portal/components/svg_anim/ppw-anim",{"title":449,"_path":450},"\u003Cppw-anim-carousel>","/docs/portal/components/svg_anim/ppw-anim-carousel",{"title":452,"_path":453},"\u003Cppw-anim-scroll>","/docs/portal/components/svg_anim/ppw-anim-scroll",{"title":455,"_path":456},"\u003Cppw-anim-scroll2>","/docs/portal/components/svg_anim/ppw-anim-scroll2",{"title":458,"_path":459},"\u003Cppw-svg>","/docs/portal/components/svg_anim/ppw-svg",{"title":461,"_path":462},"\u003Cppw-svga>","/docs/portal/components/svg_anim/ppw-svga",{"title":464,"_path":465},"Scroll3 Full","/docs/portal/components/svg_anim/scroll3-full",{"title":467,"_path":468},"Content","/docs/portal/content",{"title":470,"_path":471,"children":472},"Episode","/docs/portal/episode",[473,474],{"title":470,"_path":471},{"title":475,"_path":476,"children":477},"SampleSerie","/docs/portal/episode/sample_serie",[478,481],{"title":479,"_path":480},"My First Adventure","/docs/portal/episode/sample_serie/sample-s01e01",{"title":482,"_path":483},"Another trip","/docs/portal/episode/sample_serie/sample-s01e02",{"title":485,"_path":486},"forking","/docs/portal/fork",{"title":488,"_path":489},"i18n - internationalization","/docs/portal/i18n",{"title":491,"_path":492,"children":493},"📄pages","/docs/portal/pages",[494,497,500,503],{"title":495,"_path":496},"/check","/docs/portal/pages/check",{"title":498,"_path":499},"/craft","/docs/portal/pages/craft",{"title":501,"_path":502},"/gallery","/docs/portal/pages/gallery",{"title":504,"_path":505},"home","/docs/portal/pages/home",{"title":507,"_path":508},"permissions","/docs/portal/perm",{"title":510,"_path":511},"pricing","/docs/portal/pricing",{"title":513,"_path":514,"children":515},"🎓team","/docs/team",[516,519,526,529,538,540,543],{"title":517,"_path":518},"AI","/docs/team/ai",{"title":520,"_path":521,"children":522},"Api","/docs/team/api",[523],{"title":524,"_path":525},"API dev","/docs/team/api/dev",{"title":527,"_path":528},"pp-cli","/docs/team/cli",{"title":530,"_path":531,"children":532},"Deploy","/docs/team/deploy",[533,535],{"title":530,"_path":534},"/docs/team/deploy/cloudflare",{"title":536,"_path":537},"deploy API on scaleway","/docs/team/deploy/scaleway",{"title":539,"_path":514},"Docs TEAM",{"title":541,"_path":542},"versions paxpar","/docs/team/versions",{"title":544,"_path":545},"How to visualize a branch of the project on a local server","/docs/team/visu_localhost",{"title":547,"_path":548},"TODO doc","/docs/todo",{"title":550,"_path":551,"children":552},"Our publications","/blog",[553,554,557,560,563,566,569,572,575,578],{"title":550,"_path":551},{"title":555,"_path":556},"paxpar roadmap 2025S1 update","/blog/2025s1_roadmap",{"title":558,"_path":559},"Creating a craftform","/blog/art_attest_exam_craft",{"title":561,"_path":562},"Creating a mock-up Checklist","/blog/art_attest_exam_maq_cl",{"title":564,"_path":565},"Creating a document's template","/blog/art_attest_exam_template",{"title":567,"_path":568},"Shamir Secret Sharing, a cryptographic matter.","/blog/art_crypto_shamir",{"title":570,"_path":571},"Certificate","/blog/art_oi_fraude-certif-soudeur",{"title":573,"_path":574},"Audit Trail","/blog/art_paf_usurp_id",{"title":576,"_path":577},"Smart documents","/blog/art_pdf_augm",{"title":579,"_path":580},"CAD/BIM parametric values compliance","/blog/tech_bim_param",{"title":582,"_path":583,"children":584},"Legal","/legal",[585],{"title":586,"_path":587},"Cgu","/legal/cgu",{"_path":86,"_dir":589,"_draft":590,"_partial":590,"_locale":591,"title":85,"description":592,"body":593,"_type":925,"_id":926,"_source":927,"_file":928,"_stem":929,"_extension":930},"script",false,"en","You can send an email in a craftform script:",{"type":594,"children":595,"toc":923},"root",[596,603,608,891,904,917],{"type":597,"tag":598,"props":599,"children":600},"element","h1",{"id":85},[601],{"type":602,"value":85},"text",{"type":597,"tag":604,"props":605,"children":606},"p",{},[607],{"type":602,"value":592},{"type":597,"tag":609,"props":610,"children":615},"pre",{"className":611,"code":612,"language":613,"meta":614,"style":614},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","async def generate_signature(\n    ctx: CraftContext,\n) -> GenerateSignatureStatus:\n\n    await mail_send(\n        subject='Welcome',\n        body='Ci-joint un fichier !',\n        to='philippe@entzmann.name',\n        attachments=[ f\"{ctx.temp_folder}/out.pdf\" ],\n    )\n\n","python","",[616],{"type":597,"tag":617,"props":618,"children":619},"code",{"__ignoreMap":614},[620,649,675,699,709,728,761,791,821,882],{"type":597,"tag":621,"props":622,"children":625},"span",{"class":623,"line":624},"line",1,[626,632,637,643],{"type":597,"tag":621,"props":627,"children":629},{"style":628},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[630],{"type":602,"value":631},"async",{"type":597,"tag":621,"props":633,"children":634},{"style":628},[635],{"type":602,"value":636}," def",{"type":597,"tag":621,"props":638,"children":640},{"style":639},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[641],{"type":602,"value":642}," generate_signature",{"type":597,"tag":621,"props":644,"children":646},{"style":645},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[647],{"type":602,"value":648},"(\n",{"type":597,"tag":621,"props":650,"children":652},{"class":623,"line":651},2,[653,659,664,670],{"type":597,"tag":621,"props":654,"children":656},{"style":655},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[657],{"type":602,"value":658},"    ctx",{"type":597,"tag":621,"props":660,"children":661},{"style":645},[662],{"type":602,"value":663},":",{"type":597,"tag":621,"props":665,"children":667},{"style":666},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[668],{"type":602,"value":669}," CraftContext",{"type":597,"tag":621,"props":671,"children":672},{"style":645},[673],{"type":602,"value":674},",\n",{"type":597,"tag":621,"props":676,"children":678},{"class":623,"line":677},3,[679,684,689,694],{"type":597,"tag":621,"props":680,"children":681},{"style":645},[682],{"type":602,"value":683},")",{"type":597,"tag":621,"props":685,"children":686},{"style":645},[687],{"type":602,"value":688}," ->",{"type":597,"tag":621,"props":690,"children":691},{"style":666},[692],{"type":602,"value":693}," GenerateSignatureStatus",{"type":597,"tag":621,"props":695,"children":696},{"style":645},[697],{"type":602,"value":698},":\n",{"type":597,"tag":621,"props":700,"children":702},{"class":623,"line":701},4,[703],{"type":597,"tag":621,"props":704,"children":706},{"emptyLinePlaceholder":705},true,[707],{"type":602,"value":708},"\n",{"type":597,"tag":621,"props":710,"children":712},{"class":623,"line":711},5,[713,719,724],{"type":597,"tag":621,"props":714,"children":716},{"style":715},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[717],{"type":602,"value":718},"    await",{"type":597,"tag":621,"props":720,"children":721},{"style":639},[722],{"type":602,"value":723}," mail_send",{"type":597,"tag":621,"props":725,"children":726},{"style":645},[727],{"type":602,"value":648},{"type":597,"tag":621,"props":729,"children":731},{"class":623,"line":730},6,[732,737,742,747,753,757],{"type":597,"tag":621,"props":733,"children":734},{"style":655},[735],{"type":602,"value":736},"        subject",{"type":597,"tag":621,"props":738,"children":739},{"style":645},[740],{"type":602,"value":741},"=",{"type":597,"tag":621,"props":743,"children":744},{"style":645},[745],{"type":602,"value":746},"'",{"type":597,"tag":621,"props":748,"children":750},{"style":749},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[751],{"type":602,"value":752},"Welcome",{"type":597,"tag":621,"props":754,"children":755},{"style":645},[756],{"type":602,"value":746},{"type":597,"tag":621,"props":758,"children":759},{"style":645},[760],{"type":602,"value":674},{"type":597,"tag":621,"props":762,"children":764},{"class":623,"line":763},7,[765,770,774,778,783,787],{"type":597,"tag":621,"props":766,"children":767},{"style":655},[768],{"type":602,"value":769},"        body",{"type":597,"tag":621,"props":771,"children":772},{"style":645},[773],{"type":602,"value":741},{"type":597,"tag":621,"props":775,"children":776},{"style":645},[777],{"type":602,"value":746},{"type":597,"tag":621,"props":779,"children":780},{"style":749},[781],{"type":602,"value":782},"Ci-joint un fichier !",{"type":597,"tag":621,"props":784,"children":785},{"style":645},[786],{"type":602,"value":746},{"type":597,"tag":621,"props":788,"children":789},{"style":645},[790],{"type":602,"value":674},{"type":597,"tag":621,"props":792,"children":794},{"class":623,"line":793},8,[795,800,804,808,813,817],{"type":597,"tag":621,"props":796,"children":797},{"style":655},[798],{"type":602,"value":799},"        to",{"type":597,"tag":621,"props":801,"children":802},{"style":645},[803],{"type":602,"value":741},{"type":597,"tag":621,"props":805,"children":806},{"style":645},[807],{"type":602,"value":746},{"type":597,"tag":621,"props":809,"children":810},{"style":749},[811],{"type":602,"value":812},"philippe@entzmann.name",{"type":597,"tag":621,"props":814,"children":815},{"style":645},[816],{"type":602,"value":746},{"type":597,"tag":621,"props":818,"children":819},{"style":645},[820],{"type":602,"value":674},{"type":597,"tag":621,"props":822,"children":824},{"class":623,"line":823},9,[825,830,835,840,845,851,856,861,867,872,877],{"type":597,"tag":621,"props":826,"children":827},{"style":655},[828],{"type":602,"value":829},"        attachments",{"type":597,"tag":621,"props":831,"children":832},{"style":645},[833],{"type":602,"value":834},"=[",{"type":597,"tag":621,"props":836,"children":837},{"style":628},[838],{"type":602,"value":839}," f",{"type":597,"tag":621,"props":841,"children":842},{"style":749},[843],{"type":602,"value":844},"\"",{"type":597,"tag":621,"props":846,"children":848},{"style":847},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[849],{"type":602,"value":850},"{",{"type":597,"tag":621,"props":852,"children":853},{"style":639},[854],{"type":602,"value":855},"ctx",{"type":597,"tag":621,"props":857,"children":858},{"style":645},[859],{"type":602,"value":860},".",{"type":597,"tag":621,"props":862,"children":864},{"style":863},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[865],{"type":602,"value":866},"temp_folder",{"type":597,"tag":621,"props":868,"children":869},{"style":847},[870],{"type":602,"value":871},"}",{"type":597,"tag":621,"props":873,"children":874},{"style":749},[875],{"type":602,"value":876},"/out.pdf\"",{"type":597,"tag":621,"props":878,"children":879},{"style":645},[880],{"type":602,"value":881}," ],\n",{"type":597,"tag":621,"props":883,"children":885},{"class":623,"line":884},10,[886],{"type":597,"tag":621,"props":887,"children":888},{"style":645},[889],{"type":602,"value":890},"    )\n",{"type":597,"tag":604,"props":892,"children":893},{},[894,896,902],{"type":602,"value":895},"The craft ",{"type":597,"tag":617,"props":897,"children":899},{"className":898},[],[900],{"type":602,"value":901},"ref.common.pp-procedure.craftforms.mail.mail.craftform",{"type":602,"value":903},"\ncontains a working example.",{"type":597,"tag":604,"props":905,"children":906},{},[907,909,915],{"type":602,"value":908},"Note that the normal behaviour is to handle email notification in the finalize actions\nand ",{"type":597,"tag":910,"props":911,"children":912},"strong",{},[913],{"type":602,"value":914},"not",{"type":602,"value":916}," in the script !",{"type":597,"tag":918,"props":919,"children":920},"style",{},[921],{"type":602,"value":922},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":614,"searchDepth":651,"depth":651,"links":924},[],"markdown","content:docs:30.craftform:script:mail.md","content","docs/30.craftform/script/mail.md","docs/30.craftform/script/mail","md",[932,934],{"_path":83,"title":82,"description":933},"A PDF is generated when the form is finalized or previewed.",{"_path":89,"title":88,"description":614},1774486233864]