承接 ashhitch/wp-graphql-send-mail 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ashhitch/wp-graphql-send-mail

最新稳定版本:v1.2.0

Composer 安装命令:

composer require ashhitch/wp-graphql-send-mail

包简介

Send Emails via with WPGraphQL

README 文档

README

WPGraphQl Yoast SEO Plugin

One of the simple things about a traditional WordPress sites is sending emails, this plugin makes it easy to do this via a simple mutation when you are using WPGraphQL.

Features

  • Set list of allowed origins in admin
  • Set CC address in admin
  • Set default From address in admin

Composer

composer require ashhitch/wp-graphql-send-mail

Usage

mutation SEND_EMAIL {
  sendEmail(
    input: {
      to: "test@test.com"
      from: "test@test.com"
      subject: "test email"
      body: "test email"
      clientMutationId: "test"
    }
  ) {
    origin
    sent
    message
  }
}

To try stop unauthorised emails you can set a list of domains that can send emails through the mutation.

These are set under Settings > WPGraphQL Mail from your WordPress Admin

Support

Open an issue

Other WpGraphQl Plugins

Want to get Yoast data via WPGraphQL? Checkout my other plugin

Mail Icon by Good Ware

Find this useful?

Buy Me A Coffee

统计信息

  • 总下载量: 2.73k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 24
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 24
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2020-05-04