[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis guide details how to utilize the Mail API for sending emails.\u003c/p\u003e\n"],["\u003cp\u003eThe API is compatible with first-generation runtimes and is usable when upgrading to corresponding second-generation runtimes.\u003c/p\u003e\n"],["\u003cp\u003eTo send emails you must register your sender emails as authorized senders.\u003c/p\u003e\n"]]],[],null,["# Sending mail with the Mail API\n\nGo Java PHP Python\n\nThis guide describes how to use the Mail API to send mail.\n\n\u003cbr /\u003e\n\n| This API is supported for first-generation runtimes and can be used when [upgrading to corresponding second-generation runtimes](/appengine/docs/standard/\n|\n| /services/access). If you are updating to the App Engine runtime, refer to the [Upgrade to second-generation runtimes]() page to learn about your migration options for legacy bundled services.\n\nBefore you begin\n----------------\n\nRegister your sender emails as authorized senders. For more information, see\n[who can send email](/appengine/docs/standard/services/mail#who_can_send_mail).\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]