drupal7配置send mail

http://drupal.org/project/phpmailer

下载后,一定要看说明,然后根据提示来安装

-- REQUIREMENTS --

* Access to an SMTP server

* Libraries API module
  http://drupal.org/project/libraries  要装

* PHPMailer library
  https://github.com/PHPMailer/PHPMailer

Optional:

* To connect to an SMTP server using SSL, your PHP installation needs to have
  OpenSSL support.

* Mime Mail module to send HTML e-mails
  http://drupal.org/project/mimemail

* Personalized E-mails module to adjust the displayed sender name
  http://drupal.org/project/pmail


-- INSTALLATION --

1. Download the latest PHPMailer library from

     https://github.com/PHPMailer/PHPMailer/tags

   and extract the following files into a 'phpmailer' library directory:

     sites/all/libraries/phpmailer/class.phpmailer.php
     sites/all/libraries/phpmailer/class.smtp.php

   It is recommended that you create your libraries directory at one of the
   following locations:

     sites/all/libraries/phpmailer
     sites/<site>/libraries/phpmailer

   Consult the Libraries API documentation for further information.

2. Install as usual, see http://drupal.org/node/70151 for further information.

配置的时候,要搞自己在安装drupal7配置的邮箱名称!!

猜你喜欢

转载自hao3721.iteye.com/blog/1918195