Linux 软件免费装

Swift Mailer

开发者 Turn On Social
更新时间 2016年9月5日 03:35
PHP版本: 3.0 及以上
WordPress版本: 4.5.3
版权: GPLv3 or later
版权网址: 版权信息

标签

mail swift mailer

下载

5.4.1 5.4.3

详情介绍:

Loads the Swift Mailer library into WordPress and nothing more. See http://swiftmailer.org for more information. This plugin was created to provide a reliable way to update the core Swift Mailer library across multiple WordPress installs. The plugin loads only the core library so any mail functions will have to be written. Feedback welcomed! For feature requests or questions, create a thread on the support tab (http://wordpress.org/support/plugin/swift-mailer) or email hello [at] turnonsocial [dot] com

安装:

Upload and activate. You can then use the Swift Mailer library within your code - swift_required.php is automatically included. Sample connect and send code (full documentation available at: http://swiftmailer.org/docs/sending.html ) `// Create the Transport $transport = Swift_SmtpTransport::newInstance('smtp.example.org', 25) ->setUsername('your username') ->setPassword('your password') ; // Create the Mailer using your created Transport $mailer = Swift_Mailer::newInstance($transport); // Create a message $message = Swift_Message::newInstance('Wonderful Subject') ->setFrom(array('john@doe.com' => 'John Doe')) ->setTo(array('receiver@domain.org', 'other@domain.org' => 'A name')) ->setBody('Here is the message itself') ; // Send the message $result = $mailer->send($message);`

屏幕截图:

  • Sample code for application

升级注意事项:

Please update to the latest version. This release upgrades the Swift Mailer library to v5.4.3. No code changes are required!

更新日志:

5.4.3 5.4.1 5.4.0 4.3.0