xampp和codeigniter,我想从我的本地主机发送电子邮件。如何发送电子邮件localign在codeigniter xampp windows
在Ubuntu,我可以通过
$ sudo apt-get install sendmail
非常容易地创建一个电子邮件服务器和更新应用程序的配置/前端/配置/ email.php
$config['useragent'] = "CodeIgniter";
$config['mailpath'] = "/usr/bin/sendmail"; // or "/usr/sbin/sendmail"
$config['protocol'] = "mail";
$config['smtp_host'] = "localhost";
$config['smtp_user'] = "";
$config['smtp_pass'] = "";
$config['smtp_port'] = "25";
我想设置sendmail
在窗口, 我怎样才能做到这一点 ??请帮忙 。搜索了很多,但找不到工作解决方案。
这里有*工作解决方案,它比Linux更难...但是你不能使用在线SMTP服务器吗?无论如何,来自动态IP的邮件都会被大多数垃圾邮件过滤器所占用。 –
@Pekka可以帮我解释一下。我如何使用在线SMTP服务器?我试图更改php.ini SMTP = smtp.wlink.com.np smtp_port = 25,但不工作 –