📄 jmail.tlh
字号:
VARIANT_BOOL GetLogging ( );
void PutLogging (
VARIANT_BOOL Value );
_bstr_t GetHTMLBody ( );
void PutHTMLBody (
_bstr_t Value );
HRESULT Close ( );
VARIANT_BOOL GetISOEncodeHeaders ( );
void PutISOEncodeHeaders (
VARIANT_BOOL Value );
HRESULT ClearCustomHeaders ( );
VARIANT_BOOL GetUsePipelining ( );
void PutUsePipelining (
VARIANT_BOOL Value );
VARIANT_BOOL GetSilent ( );
void PutSilent (
VARIANT_BOOL Value );
long GetErrorCode ( );
_bstr_t GetErrorMessage ( );
_bstr_t GetErrorSource ( );
VARIANT_BOOL GetSimpleLayout ( );
void PutSimpleLayout (
VARIANT_BOOL Value );
HRESULT GetMessageBodyFromURL (
_bstr_t bstrURL,
_bstr_t bstrAuth );
_bstr_t AddURLAttachment (
_bstr_t bstrURL,
_bstr_t bstrAttachAs,
VARIANT_BOOL isInline,
_bstr_t bstrAuth );
HRESULT ExtractEmailAddressesFromURL (
_bstr_t bstrURL,
_bstr_t bstrAuth );
_bstr_t GetRecipientsString ( );
DATE GetDeferredDelivery ( );
void PutDeferredDelivery (
DATE Value );
_bstr_t GetMailData ( );
_bstr_t GetAbout ( );
HRESULT AddRecipient (
_bstr_t emailAddress,
_bstr_t recipientName,
_bstr_t PGPKey );
HRESULT AddRecipientCC (
_bstr_t emailAddress,
_bstr_t recipientName,
_bstr_t PGPKey );
HRESULT AddRecipientBCC (
_bstr_t emailAddress,
_bstr_t PGPKey );
_bstr_t GetVersion ( );
VARIANT_BOOL VerifyKeys (
_bstr_t keyString );
HRESULT ClearRecipients ( );
HRESULT ClearAttachments ( );
HRESULT AppendBodyFromFile (
_bstr_t FileName );
HRESULT AppendText (
_bstr_t Text );
_bstr_t AddAttachment (
_bstr_t FileName,
VARIANT_BOOL isInline,
_bstr_t ContentType );
_bstr_t AddCustomAttachment (
_bstr_t FileName,
_bstr_t Data,
VARIANT_BOOL isInline );
HRESULT AddHeader (
_bstr_t XHeader,
_bstr_t Value );
HRESULT AddNativeHeader (
_bstr_t Header,
_bstr_t Value );
VARIANT_BOOL GetEncryptAttachments ( );
void PutEncryptAttachments (
VARIANT_BOOL Value );
_bstr_t GetMailServerUserName ( );
void PutMailServerUserName (
_bstr_t Value );
_bstr_t GetMailServerPassWord ( );
void PutMailServerPassWord (
_bstr_t Value );
HRESULT Clear ( );
HRESULT AppendHTML (
_bstr_t Text );
IPGPDecodeResultsPtr PGPDecode (
VARIANT_BOOL DecodeBody,
VARIANT_BOOL DecodeAttachments );
VARIANT_BOOL GetEnableCharsetTranslation ( );
void PutEnableCharsetTranslation (
VARIANT_BOOL Value );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Date (
DATE * Value ) = 0;
virtual HRESULT __stdcall get_Size (
long * Value ) = 0;
virtual HRESULT __stdcall raw_LoadFromStream (
IUnknown * Stream ) = 0;
virtual HRESULT __stdcall raw_SaveToStream (
IUnknown * Stream ) = 0;
virtual HRESULT __stdcall raw_ParseMessage (
BSTR MessageSource ) = 0;
virtual HRESULT __stdcall get_Text (
BSTR * Value ) = 0;
virtual HRESULT __stdcall get_Headers (
struct IHeaders * * Value ) = 0;
virtual HRESULT __stdcall get_Recipients (
struct IRecipients * * Value ) = 0;
virtual HRESULT __stdcall get_Attachments (
struct IAttachments * * Value ) = 0;
virtual HRESULT __stdcall get_Subject (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_Subject (
BSTR Value ) = 0;
virtual HRESULT __stdcall get_From (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_From (
BSTR Value ) = 0;
virtual HRESULT __stdcall get_FromName (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_FromName (
BSTR Value ) = 0;
virtual HRESULT __stdcall get_Body (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_Body (
BSTR Value ) = 0;
virtual HRESULT __stdcall get_Priority (
unsigned char * Value ) = 0;
virtual HRESULT __stdcall put_Priority (
unsigned char Value ) = 0;
virtual HRESULT __stdcall get_ContentType (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_ContentType (
BSTR Value ) = 0;
virtual HRESULT __stdcall raw_Send (
BSTR mailServer,
VARIANT_BOOL enque,
VARIANT_BOOL * RetVal ) = 0;
virtual HRESULT __stdcall get_BodyText (
BSTR * Value ) = 0;
virtual HRESULT __stdcall raw_DecodeHeader (
BSTR Header,
BSTR * Value ) = 0;
virtual HRESULT __stdcall raw_SendToNewsGroup (
BSTR ServerName,
BSTR Newsgroups ) = 0;
virtual HRESULT __stdcall get_Envelope (
IUnknown * * Value ) = 0;
virtual HRESULT __stdcall put_Envelope (
IUnknown * Value ) = 0;
virtual HRESULT __stdcall get_MsPickupdirectory (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_MsPickupdirectory (
BSTR Value ) = 0;
virtual HRESULT __stdcall raw_nq ( ) = 0;
virtual HRESULT __stdcall raw_KeyInformation (
BSTR keyIdentifier,
struct IPGPKeys * * PGPKeys ) = 0;
virtual HRESULT __stdcall get_PGPEncrypt (
VARIANT_BOOL * Value ) = 0;
virtual HRESULT __stdcall put_PGPEncrypt (
VARIANT_BOOL Value ) = 0;
virtual HRESULT __stdcall get_PGPSign (
VARIANT_BOOL * Value ) = 0;
virtual HRESULT __stdcall put_PGPSign (
VARIANT_BOOL Value ) = 0;
virtual HRESULT __stdcall get_PGPPassphrase (
BSTR * passPhrase ) = 0;
virtual HRESULT __stdcall put_PGPPassphrase (
BSTR passPhrase ) = 0;
virtual HRESULT __stdcall get_PGPSignkey (
BSTR * signKey ) = 0;
virtual HRESULT __stdcall put_PGPSignkey (
BSTR signKey ) = 0;
virtual HRESULT __stdcall get_ReplyTo (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_ReplyTo (
BSTR Value ) = 0;
virtual HRESULT __stdcall get_HideRecipients (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_HideRecipients (
BSTR Value ) = 0;
virtual HRESULT __stdcall get_MailDomain (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_MailDomain (
BSTR Value ) = 0;
virtual HRESULT __stdcall get_Charset (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_Charset (
BSTR Value ) = 0;
virtual HRESULT __stdcall get_ContentTransferEncoding (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_ContentTransferEncoding (
BSTR Value ) = 0;
virtual HRESULT __stdcall get_MimeVersion (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_MimeVersion (
BSTR Value ) = 0;
virtual HRESULT __stdcall get_Encoding (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_Encoding (
BSTR Value ) = 0;
virtual HRESULT __stdcall get_ReturnReceipt (
VARIANT_BOOL * Value ) = 0;
virtual HRESULT __stdcall put_ReturnReceipt (
VARIANT_BOOL Value ) = 0;
virtual HRESULT __stdcall raw_LogCustomMessage (
BSTR Message ) = 0;
virtual HRESULT __stdcall get_Log (
BSTR * Value ) = 0;
virtual HRESULT __stdcall get_Logging (
VARIANT_BOOL * Value ) = 0;
virtual HRESULT __stdcall put_Logging (
VARIANT_BOOL Value ) = 0;
virtual HRESULT __stdcall get_HTMLBody (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_HTMLBody (
BSTR Value ) = 0;
virtual HRESULT __stdcall raw_Close ( ) = 0;
virtual HRESULT __stdcall get_ISOEncodeHeaders (
VARIANT_BOOL * Value ) = 0;
virtual HRESULT __stdcall put_ISOEncodeHeaders (
VARIANT_BOOL Value ) = 0;
virtual HRESULT __stdcall raw_ClearCustomHeaders ( ) = 0;
virtual HRESULT __stdcall get_UsePipelining (
VARIANT_BOOL * Value ) = 0;
virtual HRESULT __stdcall put_UsePipelining (
VARIANT_BOOL Value ) = 0;
virtual HRESULT __stdcall get_Silent (
VARIANT_BOOL * Value ) = 0;
virtual HRESULT __stdcall put_Silent (
VARIANT_BOOL Value ) = 0;
virtual HRESULT __stdcall get_ErrorCode (
long * Value ) = 0;
virtual HRESULT __stdcall get_ErrorMessage (
BSTR * Value ) = 0;
virtual HRESULT __stdcall get_ErrorSource (
BSTR * Value ) = 0;
virtual HRESULT __stdcall get_SimpleLayout (
VARIANT_BOOL * Value ) = 0;
virtual HRESULT __stdcall put_SimpleLayout (
VARIANT_BOOL Value ) = 0;
virtual HRESULT __stdcall raw_GetMessageBodyFromURL (
BSTR bstrURL,
BSTR bstrAuth ) = 0;
virtual HRESULT __stdcall raw_AddURLAttachment (
BSTR bstrURL,
BSTR bstrAttachAs,
VARIANT_BOOL isInline,
BSTR bstrAuth,
BSTR * Value ) = 0;
virtual HRESULT __stdcall raw_ExtractEmailAddressesFromURL (
BSTR bstrURL,
BSTR bstrAuth ) = 0;
virtual HRESULT __stdcall get_RecipientsString (
BSTR * Value ) = 0;
virtual HRESULT __stdcall get_DeferredDelivery (
DATE * Value ) = 0;
virtual HRESULT __stdcall put_DeferredDelivery (
DATE Value ) = 0;
virtual HRESULT __stdcall get_MailData (
BSTR * Value ) = 0;
virtual HRESULT __stdcall get_About (
BSTR * Value ) = 0;
virtual HRESULT __stdcall raw_AddRecipient (
BSTR emailAddress,
BSTR recipientName,
BSTR PGPKey ) = 0;
virtual HRESULT __stdcall raw_AddRecipientCC (
BSTR emailAddress,
BSTR recipientName,
BSTR PGPKey ) = 0;
virtual HRESULT __stdcall raw_AddRecipientBCC (
BSTR emailAddress,
BSTR PGPKey ) = 0;
virtual HRESULT __stdcall get_Version (
BSTR * Value ) = 0;
virtual HRESULT __stdcall raw_VerifyKeys (
BSTR keyString,
VARIANT_BOOL * allOK ) = 0;
virtual HRESULT __stdcall raw_ClearRecipients ( ) = 0;
virtual HRESULT __stdcall raw_ClearAttachments ( ) = 0;
virtual HRESULT __stdcall raw_AppendBodyFromFile (
BSTR FileName ) = 0;
virtual HRESULT __stdcall raw_AppendText (
BSTR Text ) = 0;
virtual HRESULT __stdcall raw_AddAttachment (
BSTR FileName,
VARIANT_BOOL isInline,
BSTR ContentType,
BSTR * Value ) = 0;
virtual HRESULT __stdcall raw_AddCustomAttachment (
BSTR FileName,
BSTR Data,
VARIANT_BOOL isInline,
BSTR * Value ) = 0;
virtual HRESULT __stdcall raw_AddHeader (
BSTR XHeader,
BSTR Value ) = 0;
virtual HRESULT __stdcall raw_AddNativeHeader (
BSTR Header,
BSTR Value ) = 0;
virtual HRESULT __stdcall get_EncryptAttachments (
VARIANT_BOOL * Value ) = 0;
virtual HRESULT __stdcall put_EncryptAttachments (
VARIANT_BOOL Value ) = 0;
virtual HRESULT __stdcall get_MailServerUserName (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_MailServerUserName (
BSTR Value ) = 0;
virtual HRESULT __stdcall get_MailServerPassWord (
BSTR * Value ) = 0;
virtual HRESULT __stdcall put_MailServerPassWord (
BSTR Value ) = 0;
virtual HRESULT __stdcall raw_Clear ( ) = 0;
virtual HRESULT __stdcall raw_AppendHTML (
BSTR Text ) = 0;
virtual HRESULT __stdcall raw_PGPDecode (
VARIANT_BOOL DecodeBody,
VARIANT_BOOL DecodeAttachments,
struct IPGPDecodeResults * * RetVal ) = 0;
virtual HRESULT __stdcall get_EnableCharsetTranslation (
VARIANT_BOOL * Value ) = 0;
virtual HRESULT __stdcall put_EnableCharsetTranslation (
VARIANT_BOOL Value ) = 0;
};
struct __declspec(uuid("e5ff9f62-0e7c-4372-8ad5-da7d2418070c"))
Message;
// [ default ] interface IMessage
struct __declspec(uuid("cf2ed965-e0ba-4fe4-ade2-38bd48f112e8"))
IHeaders : IDispatch
{
//
// Property data
//
__declspec(property(get=GetText))
_bstr_t Text;
//
// Wrapper methods for error-handling
//
_bstr_t GetHeader (
_bstr_t Headername );
_bstr_t GetText ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_GetHeader (
BSTR Headername,
BSTR * Value ) = 0;
virtual HRESULT __stdcall get_Text (
BSTR * Value ) = 0;
};
struct __declspec(uuid("b1cc9084-0177-4136-9b1b-c06c061f1e1d"))
Headers;
// [ default ] interface IHeaders
struct __declspec(uuid("56930358-ad72-408f-83c4-a2b0dc8037b2"))
IRecipients : IDispatch
{
//
// Property data
//
__declspec(property(get=GetItem))
IRecipientPtr Item[];
__declspec(property(get=GetCount))
long Count;
//
// Wrapper methods for error-handling
//
long GetCount ( );
IRecipientPtr GetItem (
long index );
HRESULT Add (
struct IRecipient * Value );
HRESULT Clear ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Count (
long * Value ) = 0;
virtual HRESULT __stdcall get_Item (
long index,
struct IRecipient * * Value ) = 0;
virtual HRESULT __stdcall raw_Add (
struct IRecipient * Value ) = 0;
virtual HRESULT __stdcall raw_Clear ( ) = 0;
};
struct __declspec(uuid("b10bf17c-f7ec-4ee2-ad7a-6f42816aec0f"))
Recipients;
// [ default ] interface IRecipients
struct __declspec(uuid("65c53be7-ed21-4c25-b189-da0e8fad5231"))
IRecipient : IDispatch
{
//
// Property data
//
__declspec(property(get=GetName))
_bstr_t Name;
__declspec(property(get=GetEMail))
_bstr_t EMail;
__declspec(property(get=GetReType))
long ReType;
//
// Wrapper methods for error-handling
//
_bstr_t GetName ( );
_bstr_t GetEMail ( );
long GetReType ( );
IRecipientPtr New (
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -