就像标题所说,我正在尝试在我的服务器上安装phpList,并通过第三方服务(例如TurboSMTP.com)中继这些消息。 我无法find应用程序或任何configuration文件中的任何设置,以允许我设置。
这可以在/ lists / config文件夹下的config.php文件中find
向下滚动到邮件程序设置
search以下代码并修改您的smtp主机名。 希望这可以帮助。
# If you want to use the PHPMailer class from phpmailer.sourceforge.net, set the following # to 1. If you tend to send out html emails, it is recommended to do so. define("PHPMAILER",1); # To use a SMTP please give your server hostname here, leave it blank to use the standard # PHP mail() command. define("PHPMAILERHOST",''); # if you want to use smtp authentication when sending the email uncomment the following # two lines and set the username and password to be the correct ones #$phpmailer_smtpuser = 'smtpuser'; #$phpmailer_smtppassword = 'smtppassword';
lists / config / config.php并不总是包含所有的微调设置。 请参阅config / config_extended.php
# in the above you can specify multiple SMTP servers like this: # 'server1:port1;server2:port2;server3:port3' eg #define('PHPMAILERHOST','smtp1.mydomain.com:25;smtp2.mydomain.com:2500;smtp3.phplist.com:5123'); # if you want to use smtp authentication when sending the email uncomment the following # two lines and set the username and password to be the correct ones #$phpmailer_smtpuser = 'smtpuser'; #$phpmailer_smtppassword = 'smtppassword'; ## you can set this to send out via a different SMTP port # define('PHPMAILERPORT',25);