{"id":39,"date":"2008-10-30T16:14:49","date_gmt":"2008-10-30T08:14:49","guid":{"rendered":""},"modified":"2014-02-27T22:52:56","modified_gmt":"2014-02-27T14:52:56","slug":"jmail%e7%bb%84%e4%bb%b6%e5%8f%91%e9%82%ae%e4%bb%b6%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2008\/10\/30\/39.htm","title":{"rendered":"Jmail\u7ec4\u4ef6\u53d1\u90ae\u4ef6\u7684\u95ee\u9898"},"content":{"rendered":"<div>\n<p>\u9047\u5230Jmail\u7ec4\u4ef6\u53d1\u90ae\u4ef6\u7684\u95ee\u9898\uff0c\u6309\u4ee5\u4e0b\u51e0\u70b9\u9010\u4e2a\u67e5\u627e\u3002&nbsp; <\/p>\n<p>\u3000\u30001\u3001\u770b\u670d\u52a1\u5668\u4e0a\u7684smtp\u670d\u52a1\u662f\u5426\u5df2\u542f\u52a8\u3002&nbsp; <br \/>\n\u3000\u30002\u3001\u5b89\u88c5\u597djmail\u540e\uff0c\u7ed9IIS\u7528\u6237\u5bf9&nbsp;jmail.dll\u6587\u4ef6\u7684\u5199\u6743\u9650\u3002&nbsp; <br \/>\n\u3000\u30003\u3001\u7528\u963f\u6c5f\u63a2\u9488\uff0c\u770bJmail\u7ec4\u4ef6\u662f\u5426\u5df2\u6210\u529f\u5f00\u542f\u3002&nbsp; <br \/>\n\u3000\u30004\u3001\u7528\u6b63\u786e\u7684\u90ae\u4ef6\u53d1\u9001\u4ee3\u7801\u6d4b\u8bd5\u3002&nbsp; <\/p>\n<p>\u5177\u4f53\u5927\u6982\u6392\u9519\uff1a&nbsp; <br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u628ajmail\u7ec4\u4ef6\u5378\u6389\u53c8\u91cd\u88c5\uff0c\u88c5\u597d\u540e\uff0c\u6d4b\u8bd5\u53d1\u90ae\u4ef6\uff0c\u4e0d\u6210\u529f\uff0c\u7528\u963f\u6c5f\u63a2\u9488\u67e5\u8be2\uff0c\u663e\u793a&nbsp;Jmail\u7ec4\u4ef6\u6ca1\u5f00\u542f\uff0c\u5728\u7f51\u4e0a\u641c\u4e86\u4e00\u9635\uff0c\u65e0\u610f\u4e2d\u5728\u4e00\u4e2a\u7f51\u7ad9\u4e0a\u627e\u5230\u4e00\u4e2a\u7b54\u6848\u8bf4\u662f\u6ca1\u6709\u7ed9IIS\u5e10\u53f7\u5f00\u653e\u5bf9&nbsp;dll&nbsp;\u6587\u4ef6\u7684\u8bfb\u5199\u6743\u9650\uff0c\u53f3\u51fb\u5b89\u88c5\u8def\u5f84\u4e0b\u7684&nbsp;jmail.dll&nbsp;\u6587\u4ef6\uff0c\u9009\u5c5e\u6027\uff0c\u628a&nbsp;ISUR_xxx&nbsp;\u548c&nbsp;IWAM_xxx&nbsp;\u4e24\u4e2a\u5e10\u53f7\u52a0\u8fdb\u53bb\uff0c\u7ed9\u4e88\u5199\u5165\u6743\u9650\uff0c\u786e\u5b9a\u3002\u6d4b\u8bd5\uff0c\u53d1\u73b0\u90ae\u4ef6\u80fd\u53d1\u4e86\uff0c\u53ef\u662f\u901f\u5ea6\u5f88\u6162\uff0c\u8fd8\u597d\uff0c\u6210\u529f\u4e86\u4e00\u534a\u3002&nbsp; <br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;\u6211\u7684\u670d\u52a1\u5668\u662f\u53cc\u7ebf\u51fa\u53e3\u7684\uff0c\u6709\u4e00\u4e2a\u5185\u7f51IP\uff0c\u628a\u5916\u7f51IP\u6362\u6210\u5185\u7f51IP\u8bd5\u8bd5\uff0c\u627e\u5230JMail.ServerAddress&nbsp;=&nbsp;&quot;xxx.xxx.xxx.xxx&quot;&nbsp;\u8fd9\u53e5\u4ee3\u7801\uff0c\u6362\u6210\u5185\u7f51IP\uff0c\u6d4b\u8bd5\uff0c\u6210\u529f\u4e86\uff0c1\u79d2\u79cd\u5c31\u53d1\u51fa\u53bb\u4e86\uff0c\u81f3\u6b64\u8fd9\u4e2a\u95ee\u9898\u89e3\u51b3\u4e86\u3002<\/p>\n<\/div>\n<p>&nbsp;dim&nbsp;JMail <br \/>\non&nbsp;error&nbsp;resume&nbsp;next <br \/>\nSet&nbsp;JMail&nbsp;=&nbsp;Server.CreateObject(&quot;JMail.SMTPMail&quot;) <br \/>\nJMail.ServerAddress&nbsp;=&nbsp;&quot;xxx.xxx.xxx.xxx&quot;&nbsp;&nbsp;&nbsp;&#8216;\u4f60\u670d\u52a1\u5668\u7684IP\u6216\u57df\u540d <br \/>\nJMail.LazySend&nbsp;=&nbsp;true <br \/>\nJMail.Charset&nbsp;=&nbsp;mcharset <br \/>\nJMail.ContentType&nbsp;=&nbsp;&quot;text\/html&quot; <br \/>\nJMail.Sender&nbsp;=&nbsp;&nbsp;&nbsp;&quot;xxx@xxx.com&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;\u53d1\u9001\u8005\u90ae\u7bb1 <br \/>\nJMail.Subject&nbsp;=&nbsp;&quot;\u6d4b\u8bd5\u53d1\u90ae\u4ef6&quot; <br \/>\nJMail.AddRecipient&nbsp;&quot;xxx@xxx.com&quot;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;\u63a5\u6536\u8005\u90ae\u7bb1 <br \/>\nJMail.Body&nbsp;=&nbsp;&quot;\u6d4b\u8bd5\u90ae\u4ef6&quot; <br \/>\nJMail.Priority&nbsp;=&nbsp;3 <br \/>\nJMail.AddHeader&nbsp;&quot;Originating-IP&quot;,&nbsp;Request.ServerVariables(&quot;REMOTE_ADDR&quot;) <br \/>\nJMail.Execute <br \/>\nJMail.close <br \/>\nset&nbsp;JMail=nothing <br \/>\nif&nbsp;err.number&lt;&gt;0&nbsp;then <br \/>\nresponse.write&nbsp;err.description <br \/>\nerr.clear <br \/>\nelse <br \/>\nresponse.write&nbsp;&nbsp;&nbsp;&quot;\u53d1\u9001\u6210\u529f&quot; <br \/>\nend&nbsp;if<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9047\u5230Jmail\u7ec4\u4ef6\u53d1\u90ae\u4ef6\u7684\u95ee\u9898\uff0c\u6309\u4ee5\u4e0b\u51e0\u70b9\u9010\u4e2a\u67e5\u627e\u3002&nbsp; \u3000\u30001\u3001\u770b\u670d\u52a1\u5668\u4e0a\u7684smtp\u670d\u52a1\u662f\u5426\u5df2\u542f\u52a8\u3002&nbsp; \u3000\u30002\u3001\u5b89\u88c5\u597djmail\u540e\uff0c\u7ed9IIS\u7528\u6237\u5bf9&nbsp;jmail.dll\u6587\u4ef6\u7684\u5199\u6743\u9650\u3002&nbsp; \u3000\u30003\u3001\u7528\u963f\u6c5f\u63a2&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":65901,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/39\/revisions\/65901"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=39"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}