config_sendmail.php
来自「全新且完善的强大网上商店系统」· PHP 代码 · 共 33 行
PHP
33 行
<?php
/*
[SOOBIC!] includes/send_mail.php
Version: 1.5
Author: Soolan (soolan@qq.com)
Copyright: soolan (www.soobic.com)
Last Modified: 2005/4/1 10:00
*/
if(EMAIL_TRANSPORT == 'sendmail') {
// UNIX系统下通过 PHP 函数及 UNIX sendmail 发信(无需配置)
} elseif(EMAIL_TRANSPORT == 'other') { // 通过 第三方服务器 发信
$mailconfig['server'] = 'smtp.163.com'; // SMTP 服务器
$mailconfig['port'] = '25'; // SMTP 端口, 默认不需修改
$mailconfig['auth'] = 1; // 是否需要 AUTH LOGIN 验证, 1=是, 0=否
$mailconfig['from'] = 'Soobic! <youraccount@163.com>'; // 发信人地址 (如果需要验证,必须为本服务器地址)
$mailconfig['auth_username'] = 'youraccount'; // 你的用户名
$mailconfig['auth_password'] = 'yourpassword'; //你的密码
} elseif(EMAIL_TRANSPORT == 'smtp') { //win32平台下 通过 PHP 函数及 SMTP 服务器发信
$mailconfig['server'] = 'smtp.yoursite.com'; // SMTP 服务器
$mailconfig['port'] = '25'; // SMTP 端口, 默认不需修改
}
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?