2013年6月27日 星期四

[Joomla] 使用gmail寄信

  • Mailer: SMTP
  • Set the next three lines with your information, leave your path untouched unless you are sure it needs to change for some reason.
  • SMTP Authentication: Yes
  • SMTP Security: SSL
  • SMTP Port 465
  • SMTP username: your gmail username
  • SMTP password: your gmail password
  • SMTP host: smtp.gmail.com
Note that if you are using WAMP on Windows, you may need to enable the openssl module (which is not enabled by default). To do this:

  1. Open the php.ini file and uncomment out the line   extension=php_openssl.dll.
  2. Save the php.ini file and restart the Apache service.
else if you are using linux, php.ini file is extension=php_openssl.so

沒有留言:

張貼留言