קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
כשמסמך מתווסף לאוסף, התוסף מאתר אותו כדי לעבד אותו לשליחה באימייל. התוסף יוצר ומעדכן שדה delivery במסמך בזמן שהוא מעבד את האימייל.
עיבוד של שליחת אימיילים
אפשר לאכלס את השדה delivery בשדות הבאים:
מדינה: אחת מהאפשרויות PENDING, PROCESSING, SUCCESS או ERROR.
startTime: חותמת הזמן שבה התחיל עיבוד האימייל.
endTime: חותמת הזמן שבה הסתיים עיבוד האימייל (כלומר, הסתיים במצב SUCCESS או ERROR).
שגיאה: אם הייתה שגיאה במסירת האימייל, תופיע כאן הודעת שגיאה.
attempts: מספר הניסיונות למסור את האימייל הזה.
leaseExpireTime: במקרה של תקיעה או פסק זמן, השעה שבה מצב PROCESSING צריך להיחשב כשגיאה.
info: אחרי שהאימייל נמסר בהצלחה (לפחות לכתובת אחת), השדה הזה יאוכלס בשדות הבאים:
messageId: מזהה ההודעה של האימייל שנמסר.
accepted: מערך של כתובות אימייל שהאימייל נמסר אליהן בהצלחה.
rejected: מערך של כתובות אימייל שלא ניתן היה לשלוח אליהן את האימייל.
pending: מערך של כתובות אימייל שנדחו זמנית על ידי SMTP.
תגובה: התגובה האחרונה משרת ה-SMTP.
בדרך כלל, אימייל עובר מPENDING אל PROCESSING ואז אל SUCCESS או אל ERROR. אחרי שהמסמך עובר למצב SUCCESS או ERROR, שינויים נוספים במסמך לא יגרמו לשליחת אימייל נוסף על ידי התוסף. כדי לשלוח מחדש אימייל עם עדכונים במסמך, אפשר לשנות את state ל-PENDING או ל-RETRY.
ניסיונות חוזרים ידניים
יש מקרים שבהם מסירת האימייל נכשלת באופן שניתן לתיקון, או שאפשר לתקן את המסמך באופן ידני כדי להבטיח מסירה תקינה באמצעות שינויים קלים. הניסיונות החוזרים לא מתבצעים באופן אוטומטי, אבל אפשר לשנות ידנית את הערך state בשדה delivery ל-RETRY כדי שהתוסף ינסה שוב לשלוח את האימייל (ויגדיל את המספר attempts).
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 2025-09-06 (שעון 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`)."]]