Skillpedia
واجهات API والخوادم (backend)48k · #5134

mailtrap-sending-emails

ما الذي تفعله

تساعدك هذه المهارة على إرسال رسائل بريد إلكتروني حقيقية عبر Mailtrap. يمكنك إعداد الإرسال باستخدام Email API أو SMTP، سواء للرسائل المعاملاتية (مثل تأكيدات الطلبات) أو الرسائل الجماعية (مثل النشرات البريدية).

متى تستخدمها

  • ✓إعداد إرسال رسالة تأكيد كلمة المرور.
  • ✓إرسال النشرات الترويجية إلى عملائك.
  • ✓حل مشكلات إرسال الإشعارات التلقائية من تطبيقك.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/mailtrap-sending-emails/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/mailtrap-sending-emails/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“كيف أعدّ Mailtrap لإرسال الرسائل المعاملاتية باستخدام API؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يقدم Mailtrap طرقًا مختلفة لإرسال الرسائل، مثل API مباشرة أو إعدادات SMTP. تختار الأنسب بحسب ما إذا كانت الرسالة إشعارًا نظاميًا (معاملاتية) أو حملة تسويقية (جماعية).

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Sending emails (Mailtrap)

Overview

Mailtrap sends live email over Email API (REST) or SMTP. Two streams apply for API/SMTP: Transactional (non-promotional, app-generated) and Bulk (promotional / marketing volume). Batch is not a third stream: it is how you submit many messages in one request on whichever stream matches the content. Campaigns are a separate product path for promotional mail to Mailtrap contacts. Pair this sheet with the Transactional / Bulk developer pages when building or debugging integrations (including with AI-assisted coding).

When to Use

Use when integrating, configuring, or troubleshooting Mailtrap live email sending with Email API, SMTP, transactional streams, bulk streams, or batch requests.

How to integrate (preference order)

Preferred order:

  1. Plugin or integration for the user's platform (no-code or minimal-config) where available
  2. Official SDK for your language when one exists (maintained clients, typed helpers, less room for URL/auth mistakes).
  3. HTTP Email API when there is no SDK or the SDK does not fit (direct POST to /api/send or /api/batch with JSON).
  4. SMTP only when you really need it (legacy stack, host/platform that only speaks SMTP, or hard constraints that rule out HTTP).

Choosing how to send

Approach Use when
Transactional, single message Email generated by your app (password resets, receipts, notifications, alerts). One logical message per POST https://send.api.mailtrap.io/api/send
Bulk Promotional email to contacts that you manage on your side and send at volume through Mailtrap. Not the same as "batch": bulk is the stream, not the batch endpoint.
Batch You have multiple different messages to hand off at the same time (up to 500 per request). Cuts HTTP overhead; can be applied to both transactional and bulk
Campaigns Promotional email to recipients stored as Mailtrap contacts, using Mailtrap Campaigns (audiences, scheduling, reporting in the product). Recommended to avoid implementing contact management and email sending logic; requires UI setup before sends flow—this skill does not replace that workflow.

Before generating SDK code: read the README of the relevant SDK repository linked in the SDKs section below for current method signatures, constructor options, and examples. Do not rely on memory.

Related skills: mailtrap-testing-with-sandbox (safe testing) and mailtrap-setting-up-sending-domain (verification before send).

When not to use

  • Sandbox only—capturing mail without delivery, reading messages in a sandbox (mailtrap-testing-with-sandbox).
  • The main ask is webhooks, step-by-step Campaigns UI setup, or deliverability deep-dives.
  • Exhaustive API reference—once the user's path is clear, link the official send docs for full schemas, optional fields, and edge cases.

Quick reference

Email API

…

الأسئلة الشائعة

ما الفرق بين البريد المعاملاتي والبريد الجماعي؟

الرسائل المعاملاتية تُنشئها تطبيقك (مثل إعادة تعيين كلمة المرور أو الإيصالات). أما الرسائل الجماعية فهي للتسويق أو العروض وتُرسل بكميات كبيرة.

ما هو «batch»؟

يعني «الدفعة» إرسال عدة رسائل مختلفة في طلب واحد لتحسين عملية الإرسال، ويمكن استخدامه مع الرسائل المعاملاتية والجماعية.

هل يمكنني استخدام هذه المهارة لاختبار الرسائل دون إرسالها؟

لا، هذه المهارة مخصصة لإرسال رسائل حقيقية. للاختبار دون إرسال، استخدم مهارة 'mailtrap-testing-with-sandbox'.

التفاصيل

الوصف الأصلي من المؤلف

Configure or troubleshoot Mailtrap live email sending with Email API, SMTP, transactional streams, bulk streams, or batches.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#5134
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة