// Mail the URL of the published web app.
MailApp.sendMail("myself@example.com", "My Snazzy App",
"My new app is now available at " + ScriptApp.getService().getUrl());
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-08-29 UTC"],[[["The `ScriptApp` service allows you to control and interact with the deployment of your script as a web application."],["You can retrieve the web app's URL using `getUrl()`, check its accessibility status with `isEnabled()`, and previously, disable it using the now deprecated `disable()` method."],["The `disable()` method has been deprecated and should no longer be used in new scripts, replaced by the \"Publish \u003e Deploy as web app\" dialog for disabling."],["When deploying your script as a web app, you can use provided methods to obtain its URL and determine if it's enabled for access."]]],[]]