sendmux/sending 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

sendmux/sending

Composer 安装命令:

composer require sendmux/sending

包简介

Sendmux Sending API client for PHP.

README 文档

README

Packagist version PHP version License

Sendmux Sending API client for PHP.

Read the PHP SDK guide at docs.sendmux.ai/sdks/php.

Requirements

  • PHP 8.2 or newer.
  • Composer.
  • A mailbox-scoped API key with the smx_mbx_ prefix.

Installation

composer require sendmux/sending:^1.0

Usage

Create the API group client with a mailbox-scoped key.

<?php

require __DIR__ . '/vendor/autoload.php';

use Sendmux\Sending\ClientFactory;

$emails = ClientFactory::createEmailsApi(
    getenv('SENDMUX_MAILBOX_API_KEY') ?: ''
);

$meta = ClientFactory::createMetaApi(
    getenv('SENDMUX_MAILBOX_API_KEY') ?: ''
);

The generated EmailsApi exposes sendingSendEmail() and sendingSendEmailBatch(). The generated MetaApi exposes sendingGetOpenApiSpec().

Features

  • Validates smx_mbx_ API keys before configuring the client.
  • Uses https://smtp.sendmux.ai/api/v1 by default.
  • Adds retry and rate-limit backoff behaviour through sendmux/core.
  • Maps generated API responses into the shared Sendmux envelope and error model.
  • Includes generated models for single-send and batch-send requests and responses.

Related packages

Package Use it for
sendmux/core Shared helpers for auth, headers, retries, pagination, and errors.
sendmux/mailbox Mailbox API client.
sendmux/management Management API client.
sendmux/sdk Umbrella package that installs all PHP SDK surfaces.

Support

For help, include the package name, version, API surface, and sanitised request details. Do not include API keys, tokens, passwords, webhook secrets, customer data, or private account details.

License

MIT. See LICENSE.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固