خطوات سير العمل

mail.send

type: "mail.send"

يرسل رسالة من أحد عناوين الحساب، ويتطلب خطوة إنسانية إلى الأمام - لا يوجد استثناء.

needs approval upstream5 recipientsbox required
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

يلزم ان تكون الخطوة البشرية في الاعلى

هذا خارج الحساب، والركض لا يحتاج إلى سؤال. التعريف مرفوض عندما تحفظه إلا إذا كانت خطوة بشرية تجلس على الطريق الذي يصل إلى هذا.

boxstringمطلوب

العنوان الذي يكتب لابد أنه أحد الحسابات

tostring | string[]مطلوب

خمسة متلقيات على الأكثر

ccstring | string[]

نسخ.

subjectstringمطلوب

الموضوع الموضوع

textstring

النص المبسط.

htmlstring

أو HTMLواحد من الاثنين مطلوب

{ id: "send", type: "mail.send", config: {
    box: "ops@example.com",
    to: "{{steps.approve.output.recipient}}",
    subject: "Weekly digest",
    text: "{{steps.write.output.text}}" } }
{"id": "send", "type": "mail.send", "config": {
    "box": "ops@example.com",
    "to": "{{steps.approve.output.recipient}}",
    "subject": "Weekly digest",
    "text": "{{steps.write.output.text}}"}}

المخرجات

{{steps.send.output.accepted}}   // true
{{steps.send.output.from}}       // the address the recipient actually sees
{{steps.send.output.aligned}}    // whether it was signed with its own domain
"{{steps.send.output.accepted}}"   # True
"{{steps.send.output.from}}"       # the address the recipient actually sees
"{{steps.send.output.aligned}}"    # whether it was signed with its own domain

لم يُقِل

الـ UR لا ترجع أيادي التنفيذ عند كتابة الرسالة

وما يحدث بعد ذلك لا يُقال لنا، أي سلسلة من التقارير التي تفيد بأنه “أرسل” إلى شخص ما تفيد بأنه مقبول - وهو أمر صحيح، وليس الشيء نفسه.

الحساب يجب أن يملك صندوق بريد

لا توجد طريقة أخرى لإرسال box هذا ليس أحد عناوين الحساب يفشل في الخطوة