最新评论
Benny Ng 2010-12-31 17:07
前台用unscape,后台就用server.decode去解。
季末&寂寞 2009-12-26 09:58
.........................................................
unistd 2009-12-06 01:38
3.0.6 (去除 品牌版本的 Mozilla Firefox)、Icedove 2.0.0.19 (去除品牌版本的 Mozilla Thunderbird)、
Benny Ng 2009-11-12 11:49
你就好了,我用的是RHEL,都不知道怎么来搞定install kernel-PAE呢,我也是刚学的,有招不?
Benny1 2009-11-03 11:37
Here is the source code...
===============================================
CREATE PROCEDURE sp_SMTPemail
(
@From as nvarchar(50)
,@To as nvarchar(50)
,@Subject as nvarchar(255)
,@Body as text
) --WITH ENCRYPTION--
AS
-- Declare
DECLARE @message int
DECLARE @config int
DECLARE @hr int
DECLARE @src varchar(255), @desc varchar(255)
SET @hr = 0
EXEC @hr = sp_OACreate 'CDO.Message', @message OUT -- create the message
object
EXEC @hr = sp_OACreate 'CDO.Configuration', @config OUT -- create the
configuration object
-- Configuration Object
EXEC @hr = sp_OASetProperty @config, 'Fields(cdoSendUsingMethod)',
'cdoSendUsingPort' -- Send the message using the network
EXEC @hr = sp_OASetProperty @config, 'Fields(cdoSMTPServer)',
'your.server.com' -- SMTP Server
EXEC @hr = sp_OASetProperty @config, 'Fields(cdoSMTPServerPort)', 25 --
Server SMTP Port
EXEC @hr = sp_OASetProperty @config, 'Fields(cdoSMTPAuthenticate)',
'cdoAnonymous' -- Anonymous SMTP Authenticate
EXEC sp_OAMethod @config, 'Fields.Update'
-- Message Object
EXEC @hr = sp_OASetProperty @message, 'Configuration', @config -- set
message.configuration = config
EXEC @hr = sp_OASetProperty @message, 'To', @To
EXEC @hr = sp_OASetProperty @message, 'From', @From
EXEC @hr = sp_OASetProperty @message, 'Subject', @Subject
EXEC @hr = sp_OASetProperty @message, 'bodyformat',0
EXEC @hr = sp_OASetProperty @message, 'MailFormat',0
EXEC @hr = sp_OASetProperty @message, 'HTMLBody', @Body
EXEC sp_OAMethod @message, 'Send()'
-- Destroys the objects
EXEC @hr = sp_OADestroy @message
EXEC @hr = sp_OADestroy @config
-- Errorhandler
IF @hr <> 0
BEGIN
EXEC sp_OAGetErrorInfo @message, @src OUT, @desc OUT
SELECT hr=convert(varbinary(4),@hr), Source=@src, Description=@desc
-- log and/or handle the error here if there is one...
RETURN
END
GO
eleanor zhang 2009-04-25 11:42
我用了你说的方法 still解决不了无法登陆的问题
总会出现Windows Live Communications Platform 遇到问题需要关闭
网上下载了Windows Live Communications Platform.msi会告诉我newer version已经安装过。。。
邪门的是我重装系统前是可以用9.0的msn的,这两天重装了(相同的系统盘)之后,怎么也登陆不了。。。
总会出现Windows Live Communications Platform 遇到问题需要关闭
网上下载了Windows Live Communications Platform.msi会告诉我newer version已经安装过。。。
邪门的是我重装系统前是可以用9.0的msn的,这两天重装了(相同的系统盘)之后,怎么也登陆不了。。。
Jiaoo 2009-03-06 11:03
要不是我看了一楼的回复还真的搞不出来!楼主该去修改下错误啦
Benny Ng 2008-11-26 18:44
我的文章都是转贴回来的啦.
自己记下来用于查资料用的.;)所以这个博客也没有太多有用的东西啦.基本没有原创的.居然还有朋友来看.实在是很高兴的事. ;)
自己记下来用于查资料用的.;)所以这个博客也没有太多有用的东西啦.基本没有原创的.居然还有朋友来看.实在是很高兴的事. ;)
林建生 2008-11-26 15:42
LZ都发表点JQUERY文章!!
我是我 2008-10-29 14:46
楼上的不会用不要骂楼主,自己sb还怪别人
罗浩 2008-10-10 14:30
强烈支持一下#1楼
矫枉过正!!!!!
矫枉过正!!!!!

