ट्रिगर ईमेल एक्सटेंशन की मदद से डिलीवरी की स्थिति मैनेज करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
जब किसी दस्तावेज़ को कलेक्शन में जोड़ा जाता है, तो एक्सटेंशन उसे ईमेल डिलीवरी की प्रोसेस के लिए चुन लेता है. एक्सटेंशन ईमेल को प्रोसेस करने के लिए दस्तावेज़ में एक delivery
फ़ील्ड बनाता है और अपडेट करता है.
ईमेल डिलीवरी की प्रोसेस जारी है
delivery
फ़ील्ड में ये फ़ील्ड शामिल किए जा सकते हैं:
- state: इनमें से कोई एक:
PENDING
, PROCESSING
, SUCCESS
या ERROR
.
- startTime: ईमेल को प्रोसेस करने की शुरुआत का टाइमस्टैंप.
- endTime: ईमेल प्रोसेस होने का टाइमस्टैंप. इसका मतलब है कि ईमेल की स्थिति
SUCCESS
या ERROR
पर खत्म हो गई है.
- गड़बड़ी: अगर ईमेल डिलीवर करने में कोई गड़बड़ी हुई है, तो यहां गड़बड़ी का मैसेज दिखेगा.
- attempts: इस ईमेल को डिलीवर करने की कोशिशों की संख्या.
- leaseExpireTime: अगर कोई अनुरोध रुक जाता है या टाइम आउट हो जाता है, तो इस समय के बाद
PROCESSING
स्थिति को गड़बड़ी माना जाना चाहिए.
- info: ईमेल डिलीवर होने के बाद (कम से कम एक पते पर), इस फ़ील्ड में ये फ़ील्ड अपने-आप भर जाएंगे:
- messageId: डिलीवर किए गए ईमेल का मैसेज आईडी.
- accepted: ईमेल पतों का ऐसा कलेक्शन जहां ईमेल डिलीवर हो गया है.
- rejected: ईमेल पतों का ऐसा कलेक्शन जहां ईमेल डिलीवर नहीं किया जा सका.
- pending: यह उन ईमेल पतों का कलेक्शन होता है जिन्हें एसएमटीपी ने कुछ समय के लिए अस्वीकार कर दिया था.
- response: एसएमटीपी सर्वर से मिला आखिरी जवाब.
आम तौर पर, ईमेल PENDING
से PROCESSING
को भेजा जाता है. इसके बाद, यह SUCCESS
या ERROR
को भेजा जाता है. SUCCESS
या ERROR
स्थिति में होने के बाद, दस्तावेज़ में किए गए अन्य बदलावों से एक्सटेंशन को दूसरा ईमेल भेजने का ट्रिगर नहीं मिलेगा. दस्तावेज़ के अपडेट के साथ किसी ईमेल को फिर से भेजने के लिए, state
को PENDING
या RETRY
में बदला जा सकता है.
मैन्युअल तरीके से फिर से कोशिश करना
ऐसे उदाहरण मिलते हैं जिनमें ईमेल डिलीवरी छोटी सी गड़बड़ी की वजह से आगे नहीं बढ़ पाती है या मामूली सुधारों के साथ डिलीवरी के लिए दस्तावेज़ को मैन्युअल तौर से ठीक किया जा सकता है. हालांकि, ईमेल भेजने की कोशिश अपने-आप नहीं होती. इसलिए, आपको delivery
फ़ील्ड में जाकर, state
को RETRY
में मैन्युअल तरीके से बदलना होगा. इससे एक्सटेंशन, ईमेल भेजने की कोशिश फिर से करेगा और attempts
की संख्या बढ़ जाएगी.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["\u003cbr /\u003e\n\nWhen a document is added to the collection, the extension picks it up for email\ndelivery processing. The extension creates and updates a `delivery` field in the\ndocument as it processes the email.\n\nEmail delivery processing\n\nThe `delivery` field can be populated with the following fields:\n\n- **state:** One of `PENDING`, `PROCESSING`, `SUCCESS`, or `ERROR`.\n- **startTime:** Timestamp when email processing began.\n- **endTime:** Timestamp when email processing completed (that is, ended in either a `SUCCESS` or `ERROR` state).\n- **error:** If there was an email delivery error, an error message will be populated here.\n- **attempts:** Number of delivery attempts for this email.\n- **leaseExpireTime:** In case of a hang or timeout, the time at which a `PROCESSING` state should be considered an error.\n- **info:** After successful email delivery (to at least one address), this field will be populated with the following fields:\n - **messageId:** The message ID of the delivered email.\n - **accepted:** Array of email addresses to which the email was successfully delivered.\n - **rejected:** Array of email addresses to which the email could not be delivered.\n - **pending:** Array of email addresses that were temporarily rejected by SMTP.\n - **response:** The last response from the SMTP server.\n\nAn email will typically go from `PENDING` to `PROCESSING` to either `SUCCESS` or\n`ERROR`. Once in the `SUCCESS` or `ERROR` state, additional changes to the\ndocument will not trigger the extension to send another email. To resend an\nemail with document updates, you can change the `state` to `PENDING` or `RETRY`.\n\nManual retries\n\nThere are instances in which email delivery fails in a recoverable fashion or\nthe document can be manually corrected for proper delivery with minor\nmodifications. While retries are not automatic, you can manually change the\n`state` in the `delivery` field to `RETRY` so that the extension attempts email\ndelivery again (and increments the number of `attempts`)."]]