开发者

How can I configure Drupal 6 to work with gmail?

How can I configure Drupal 6 to work with gmail IMAP?

These are the errors I get when trying to send email from Drupal.

  • warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. 23sm231165iwn.2 in C:\inetpub\wwwroot\acquia-drupal\includes\mail.inc on line 193.
  • Unable to send e-mail. Please contact the site admin开发者_StackOverflow中文版istrator if the problem persists.

These are the settings in my PHP.ini file.

[mail function]
; For Win32 only.
SMTP = smtp.gmail.com
smtp_port = 587

; For Win32 only.
sendmail_from = info@mysite.com

Thanks in advance!


Assuming you are trying to send email, the SMTP Authentication Support module is the way to go. I use the 6.x-1.x-dev version on a number of sites with no problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜