求利用jmail收发邮件的代码

来源:百度知道 编辑:UC知道 时间:2024/05/31 03:08:39
如题

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Jmail</title>
</head>

<body>
<% dim str
str=JmailSend( "hello","ILoveYou",true,HtmlBody,"*****@sina.com","******@sina.com","北京国图书刊","smtp.sina.com","******@sina.com","******")
if str="Y" then
response.write("发送成功")
else
response.write("发送失败!请重试!")