定制 log1x/wp-smtp 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

log1x/wp-smtp

最新稳定版本:v1.0.2

Composer 安装命令:

composer require log1x/wp-smtp

包简介

Simple package for handling WordPress SMTP with .env when using the Roots stack.

README 文档

README

Latest Stable Version Total Downloads

WP SMTP is a simple Composer package for handling WordPress SMTP with .env. No admin menus or other bloat. Just a simple admin notice to verify your connection when needed and the ability to do a simple task WordPress should probably be handling natively.

Getting Started

Requirements

Installation

Install via Composer:

composer require log1x/wp-smtp

Usage

Configuration

All configuration goes into .env.

Required

WP_SMTP_HOST=mail.example.com  # Host
WP_SMTP_USERNAME=example       # Username
WP_SMTP_PASSWORD=secure123     # Password

Optional

WP_SMTP_PORT=587                      # Port
WP_SMTP_PROTOCOL=tls                  # Protocol
WP_SMTP_TIMEOUT=10                    # Timeout
WP_SMTP_FORCEFROM=example@example.com # Force From Email
WP_SMTP_FORCEFROMNAME=Example         # Force From Name

Mailhog

WP_SMTP_HOST=localhost
WP_SMTP_PORT=1025
WP_SMTP_PROTOCOL=false

Debugging

SMTP connect() failed.

This error means the initial connection to your host/port failed.

Contributing

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated. When contributing code, please follow the existing code style.

If you're feeling generous, I also take contributions in the form of coffee & energy drinks.

License

WP SMTP is provided under the MIT License.

统计信息

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

GitHub 信息

  • Stars: 37
  • Watchers: 8
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-03-22