# مقدمة إلى التطوير لإرسال بريد الإشعارات باستخدام Gmail

**URL:** <https://meta.discourse.org/t/introduction-to-development-for-notification-mail-sending-with-gmail/376772>\
**Category:** Development\
**Tags:** docker, email, oauth2\
**Created:** [31 يوليو 2025، 7:04م UTC](https://meta.discourse.org/t/introduction-to-development-for-notification-mail-sending-with-gmail/376772 "2025-07-31T19:04:50Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [31 يوليو 2025، 7:32م UTC](https://meta.discourse.org/t/introduction-to-development-for-notification-mail-sending-with-gmail/376772/5 "2025-07-31T19:32:22Z")

</div>

> [@Abris](#):
>
> أحتاج إلى إعداد Discourse كعميل OAuth، وليس كعميل SMTP

هل تقصد SMTP مع مصادقة oAuth بدلاً من المصادقة الأساسية؟ أم أنك تبحث عن إرسال البريد عبر مسار آخر؟

لا يدعم Discourse مصادقة SMTP oAuth، لذا فإن النهج الأبسط هو على الأرجح جعل Discourse يسلم البريد الإلكتروني إلى خادم بريد محلي تم تكوينه بطريقة تقدم البريد مع المصادقة اللازمة.

تبدو آلية Google المدعومة لهذا هي:

> **[Route outgoing SMTP relay messages through Google - Google Workspace Admin Help](https://support.google.com/a/answer/2956491?hl=en)**
>
> Set up your on-premise email server for SMTP relay through Google servers If your organization uses Microsoft Exchange or another SMTP service or server, you can set up the SMTP relay servi

---

_[View the full topic](https://meta.discourse.org/t/introduction-to-development-for-notification-mail-sending-with-gmail/376772)._
