2018年6月

在 asp 中使用 cdo 通过远程邮件服务器发送邮件

环境:Windows 2016 - IIS - asp, 阿里云免费邮箱账户 anqunhe@aliyun.com

过程:

1.创建 asp-sent-mail.asp 文件,内容如下,关键信息 “smtpserver”填写“smtp.aliyun.com”,“smtpserverport”填写“465”,“sendusername”填写“anqunhe@aliyun.com”,“sendpassword”填写“您的密码”,“Mail.From”填写“anqunhe@aliyun.com

<%
Set Mail = CreateObject("CDO.Message")

Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") ="smtp.aliyun.com"
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465

Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = 1

Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60

Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") ="anqunhe@aliyun.com"
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") ="password"

Mail.Configuration.Fields.Update

Mail.Subject="Email subject"
Mail.From="anqunhe@aliyun.com"
Mail.To="liu@anqun.net"
Mail.TextBody="This is an email message."

Mail.Send
Set Mail = Nothing
%>

asp-mail-1.png
2.在浏览器里访问这个asp-sent-mail.asp文件,发出邮件,测试成功
asp-mail-2.png

参考:

drserver.net - VPS 开通邮件

当前,drserver.net 的 VPS 是 KVM + Virtualizor + HostBill 管理。

如果成功在 HostBill 里提交VPS订单,且完成付款,一般会自动创建好VPS,之后会收到两封开通的电子邮件。

标题为:Info:Your new VPS server details 的,包含有 Virtualizor 面板的登录信息,如 https://master.drserver.net:4083/ 的登录地址

drs-vps-1.png

标题为:VPS created 的,是由 Virtualizor 自动发出的,除了包含 Virtualizor 面板的登录信息,还有IPv6地址和VNC连接信息
drs-vps-2.png

drserver.net - 重置账户密码

drserver.net 当前是使用 HostBill 管理用户、订单和工单。如需重置 drserver.net 账户密码,大概是以下步骤:

  1. 在浏览器里访问 https://portal.drserver.net/ ,点击右上角“登录”按钮
    reset-password-3.png
  2. 点击左下角的“密码取回”链接
    reset-password-4.png
  3. 请在输入框内“输入您的E-mail地址”,再点击“发送我的密码”
    reset-password-5.png
  4. 如果提示 Password confimation was sent to the email have provided... ,表示确认重置密码的邮件已经发送到您之前填写的邮箱地址
    reset-password-6.png
  5. 检查收件箱,如有标题为 Password Reset for https://portal.drserver.net/ 的邮件,请点击里边的“Reset password” 或 链接
    reset-password-1.png
  6. 再次检查收件箱,如有标题为 Login details to https://portal.drserver.net/ 的邮件,里边就有重置好的随机密码
    reset-password-2.png

drserver.net 订单站内转移流程

大概步骤:

  1. 发起push的人,提交新工单,写上服务器IP和要推送给谁
  2. 接push的人(如新注册账户且名下无订单,需先账户认证),提交新工单,写上发push人已提交的工单号,且明确接受drs使用须知
  3. 如drs审核通过,完成push

注意:如push后的订单申请退款,款项会原路退回(退还给原付款人)。

举例:

发起push的人写工单标题和内容:

Please transfer the VPS(or dedicated server) - domain.name(xx.xx.xx.xx) to another drserver.net account - email@address.

其中VPS(or dedicated server) 是 “VPS或服务器产品”,domain.name(xx.xx.xx.xx) 是“产品主机名和IP地址”, email@address 是“接收push人的drserver.net账户登录邮箱”

接收push的人写工单标题和内容:

I accepts responsibility for VPS(or dedicated server) - domain.name(xx.xx.xx.xx) as ticket# YYYY.

其中VPS(or dedicated server) 是 “VPS或服务器产品”,domain.name(xx.xx.xx.xx) 是“产品主机名和IP地址”, ticket#YYYY 是“是发起push人的已提交请求push的工单编号”

drserver.net 超微主板凌动服务器C2750 - A1SAi-2750F 网卡驱动

drserver.net 默认是使用Windows 2016系统,如自行安装Windows 2012,安装好Windows 2012系统后可能识别不到网卡。超微官方的主板产品参数页面是:http://www.supermicro.com/products/motherboard/atom/x10/a1sai-2750f.cfm

现时超微官方提供适用于Windows 2012 64位驱动下载链接是:ftp://www.supermicro.com.tw/driver/LAN/Intel/PRO_v22.10.zip

或简化下载文件大小后,仅包含千兆网卡的文件下载链接:http://los6.anqun.org/d/supermicro-net-winx64.zip ,解压后,如Windows 2012 R2可使用其中的NDIS64目录文件。NDIS版本与Windows的版本对应请参考:https://docs.microsoft.com/en-us/windows-hardware/drivers/network/overview-of-ndis-versions

举例,如您是使用dd的方法安装Windows 2012 R2,那么在dd完成后,不要急于重启系统,再用wget命令下载驱动,保存到硬盘中。这样,Windows 2012 R2完成安装后,如网卡缺少驱动,可手动安装。