老师您好:
我想通过foxtable发送邮件到指定的邮箱,怎样操作?下面的代码对吗?
Dim m As New MailSenderm.Host = "smtp.sina.com.cn"m.Account = "gph108@sina.com"m.Password = "gph426360"m.From = "gph108@sina.com.cn"m.To = "gph108@sina.com.cn"m.Title = "工资表标题20130524"m.Cm.AddAttachments("e:\foxtable\工资\Tgz1.mdb") '将上报文件作为附件发送