⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 darksmtp.idl

📁 DarkATLSmtp(SMTP COM 组件原创代码),注册后可在Delphi中发邮件。
💻 IDL
字号:
// DarkSmtp.idl : IDL source for DarkSmtp.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (DarkSmtp.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(243ABE19-0216-4BFB-8560-FD24555AE618),
		dual,
		helpstring("ISmtpModel Interface"),
		pointer_default(unique)
	]
	interface ISmtpModel : IDispatch
	{
		[propget, id(1), helpstring("property IsHTML")] HRESULT IsHTML([out, retval] VARIANT *pVal);
		[propput, id(1), helpstring("property IsHTML")] HRESULT IsHTML([in] VARIANT newVal);
		[propget, id(2), helpstring("property Port")] HRESULT Port([out, retval] long *pVal);
		[propput, id(2), helpstring("property Port")] HRESULT Port([in] long newVal);
		[propget, id(3), helpstring("property HostName")] HRESULT HostName([out, retval] VARIANT *pVal);
		[propput, id(3), helpstring("property HostName")] HRESULT HostName([in] VARIANT newVal);
		[propget, id(4), helpstring("property UserName")] HRESULT UserName([out, retval] VARIANT *pVal);
		[propput, id(4), helpstring("property UserName")] HRESULT UserName([in] VARIANT newVal);
		[propget, id(5), helpstring("property PassWord")] HRESULT PassWord([out, retval] VARIANT *pVal);
		[propput, id(5), helpstring("property PassWord")] HRESULT PassWord([in] VARIANT newVal);
		[propget, id(6), helpstring("property From")] HRESULT From([out, retval] VARIANT *pVal);
		[propput, id(6), helpstring("property From")] HRESULT From([in] VARIANT newVal);
		[propget, id(7), helpstring("property FromName")] HRESULT FromName([out, retval] VARIANT *pVal);
		[propput, id(7), helpstring("property FromName")] HRESULT FromName([in] VARIANT newVal);
		[propget, id(8), helpstring("property Body")] HRESULT Body([out, retval] VARIANT *pVal);
		[propput, id(8), helpstring("property Body")] HRESULT Body([in] VARIANT newVal);
		[propget, id(9), helpstring("property Subject")] HRESULT Subject([out, retval] VARIANT *pVal);
		[propput, id(9), helpstring("property Subject")] HRESULT Subject([in] VARIANT newVal);
		[propget, id(10), helpstring("property ProxyType")] HRESULT ProxyType([out, retval] long *pVal);
		[propput, id(10), helpstring("property ProxyType")] HRESULT ProxyType([in] long newVal);
		[propget, id(11), helpstring("property ProxyUserName")] HRESULT ProxyUserName([out, retval] VARIANT *pVal);
		[propput, id(11), helpstring("property ProxyUserName")] HRESULT ProxyUserName([in] VARIANT newVal);
		[propget, id(12), helpstring("property ProxyPassWord")] HRESULT ProxyPassWord([out, retval] VARIANT *pVal);
		[propput, id(12), helpstring("property ProxyPassWord")] HRESULT ProxyPassWord([in] VARIANT newVal);
		[propget, id(13), helpstring("property ProxyPort")] HRESULT ProxyPort([out, retval] long *pVal);
		[propput, id(13), helpstring("property ProxyPort")] HRESULT ProxyPort([in] long newVal);
		[propget, id(14), helpstring("property ProxyHostName")] HRESULT ProxyHostName([out, retval] VARIANT *pVal);
		[propput, id(14), helpstring("property ProxyHostName")] HRESULT ProxyHostName([in] VARIANT newVal);
		[id(15), helpstring("method AddAddress")] HRESULT AddAddress(VARIANT bstrAddress,VARIANT bstrToName);
		[id(16), helpstring("method AddBCC")] HRESULT AddBCC(VARIANT bstrBCC,VARIANT bstrBCCName);
		[id(17), helpstring("method AddCC")] HRESULT AddCC(VARIANT bstrCC,VARIANT bstrCCName);
		[id(18), helpstring("method AddReplyTo")] HRESULT AddReplyTo(VARIANT bstrReplyTo,VARIANT bstrReplyToName);
		[id(19), helpstring("method AddAttachment")] HRESULT AddAttachment(VARIANT bstrAttachPath);
		[id(20), helpstring("method Reset")] HRESULT Reset();
		[id(21), helpstring("method Connect")] HRESULT Connect([out] VARIANT *pErrorInfo,[out] VARIANT* pSuccess);
		[id(22), helpstring("method Disconnect")] HRESULT Disconnect();
		[id(23), helpstring("method SendMail")] HRESULT SendMail();
		[id(24), helpstring("method SendMailForWeb")] HRESULT SendMailForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT vbSave,[in] VARIANT bstMsgId,[out] VARIANT* pErrorString);
		[id(25), helpstring("method CreateMailDirForWeb")] HRESULT CreateMailDirForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT bstMailOldIndex,[out] VARIANT* pMailNewIndex );
		[id(26), helpstring("method DeleteAttachByNameForWeb")] HRESULT DeleteAttachByNameForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT bstMsgId,[in] VARIANT bstAttachName);
		[id(27), helpstring("method ClearMailBoxSpace")] HRESULT ClearMailBoxSpace([in] VARIANT bstMailPath,[in] VARIANT bstUserId);
		[id(28), helpstring("method SaveMailToSaveBoxForWeb")] HRESULT SaveMailToSaveBoxForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT bstMsgId);
		[id(29), helpstring("method CreateLevelInfoForWeb")] HRESULT CreateLevelInfoForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT bstMailBoxSize,[in] VARIANT bstUserLevel);
		[id(30), helpstring("method GetLevelInfoForWeb")] HRESULT GetLevelInfoForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[out] VARIANT* pMailBoxSize,[out] VARIANT* pUserLevel);
		[id(31), helpstring("method CreateUserInfoForWeb")] HRESULT CreateUserInfoForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT bstTrueName,[in] VARIANT bstGender,[in] VARIANT bstBirth,[in] VARIANT bstPersonalID,[in] VARIANT bstMailBox,[in] VARIANT bstCity,[in] VARIANT bstEducation,[in] VARIANT bstMaritalStatus,[in] VARIANT bstJobType,[in] VARIANT bstOccupation,[in] VARIANT bstIncome,[in] VARIANT bstNetCost,[in] VARIANT bstEnquiry);
		[id(32), helpstring("method GetUserInfoForWeb")] HRESULT GetUserInfoForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[out] VARIANT* pTrueName,[out] VARIANT* pGender,[out] VARIANT* pBirth,[out] VARIANT* pPersonalID,[out] VARIANT* pMailBox,[out] VARIANT* pCity,[out] VARIANT* pEducation,[out] VARIANT* pMaritalStatus,[out] VARIANT* pJobType,[out] VARIANT* pOccupation,[out] VARIANT* pIncome,[out] VARIANT* pNetCost,[out] VARIANT* pEnquiry);
		[id(33), helpstring("method CreateSysInfoForWeb")] HRESULT CreateSysInfoForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT bstNickName,[in] VARIANT bstNotWithOriMail,[in] VARIANT bstMarkOriMsg,[in] VARIANT bstSaveOutBox,[in] VARIANT bstDelOption,[in] VARIANT bstFullWarnRate,[in] VARIANT bstRecvDelInServer);
		[id(34), helpstring("method GetSysInfoForWeb")] HRESULT GetSysInfoForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId, [out] VARIANT* pNickName,[out] VARIANT* pNotWithOriMail,[out] VARIANT* pMarkOriMsg,[out] VARIANT* pSaveOutBox,[out] VARIANT* pDelOption,[out] VARIANT* pFullWarnRate,[out] VARIANT* pRecvDelInServer);
		[id(35), helpstring("method CreateAssistInfoForWeb")] HRESULT CreateAssistInfoForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT bstRejectMail,[in] VARIANT bstEnableReply,[in] VARIANT bstAutoReplyContent);
		[id(36), helpstring("method GetAssistInfoForWeb")] HRESULT GetAssistInfoForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[out] VARIANT* pRejectMail,[out] VARIANT* pEnableReply,[out] VARIANT* pAutoReplyContent);
		[id(37), helpstring("method AddGroupNameForWeb")] HRESULT AddGroupNameForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT bstGroupName);
		[id(38), helpstring("method DelGroupNameForWeb")] HRESULT DelGroupNameForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT bstGroupName);
		[id(39), helpstring("method GetGroupListForWeb")] HRESULT GetGroupListForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[out] VARIANT* pGroupList);
		[id(40), helpstring("method AddGroupUserForWeb")] HRESULT AddGroupUserForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT bstGroupName,[in] VARIANT bstMemberName,[in] VARIANT bstMemberNick,[in] VARIANT bstMemberAddr,[in] VARIANT bstMemberTel,[in] VARIANT bstMemberRemark);
		[id(41), helpstring("method GetGroupUserListForWeb")] HRESULT GetGroupUserListForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT bstGroupName,[out] VARIANT* pMemberList);
		[id(42), helpstring("method DelGroupUserForWeb")] HRESULT DelGroupUserForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserId,[in] VARIANT bstGroupUserId);
		[id(43), helpstring("method GetLocalHostIp")] HRESULT GetLocalHostIp([out] VARIANT* pLocalIp);
		[id(44), helpstring("method GetCompanyUserListForWeb")] HRESULT GetCompanyUserListForWeb([in] VARIANT bstMailPath,[in]VARIANT bstGroupName,[out] VARIANT* pMemberList);
		[id(45), helpstring("method GetCompanyGroupListForWeb")] HRESULT GetCompanyGroupListForWeb(VARIANT bstMailPath,VARIANT* pMemberList);
		[id(46), helpstring("method GetCompanyAddrTextForWeb")] HRESULT GetCompanyAddrTextForWeb([in] VARIANT bstMailPath, [out] VARIANT *pComAddrText);
		[id(47), helpstring("method AddComGroupForWeb")] HRESULT AddComGroupForWeb([in] VARIANT bstMailPath,[in] VARIANT bstGroupName);
		[id(48), helpstring("method DelComGroupForWeb")] HRESULT DelComGroupForWeb([in] VARIANT bstMailPath,[in] VARIANT bstGroupName);
		[id(49), helpstring("method DelComGroupUserForWeb")] HRESULT DelComGroupUserForWeb([in] VARIANT bstMailPath,[in] VARIANT bstGroupUserId);
		[id(50), helpstring("method AddComGroupUserForWeb")] HRESULT AddComGroupUserForWeb([in] VARIANT bstMailPath,[in] VARIANT bstGroupName,[in] VARIANT bstMemberName,[in] VARIANT bstMemberNick);
		[id(51), helpstring("method SeaComNameForWeb")] HRESULT SeaComNameForWeb([in] VARIANT bstMailPath,[in] VARIANT bstUserName,[out] VARIANT* pMemberList);
		[id(52), helpstring("method SearchComUserByWordForWeb")] HRESULT SearchComUserByWordForWeb([in] VARIANT bstMailPath,[in] VARIANT bstWord,[out] VARIANT* pMemberList);

	};

[
	uuid(B4967FD8-35C2-4C94-8A19-BE59F5E925CA),
	version(1.0),
	helpstring("DarkSmtp 1.0 Type Library")
]
library DARKSMTPLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(863E92A2-F66E-4740-89B2-7F3A30CA1BF0),
		helpstring("SmtpModel Class")
	]
	coclass SmtpModel
	{
		[default] interface ISmtpModel;
	};
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -