-
Notifications
You must be signed in to change notification settings - Fork 0
/
easendmailobj.tlh
1750 lines (1673 loc) · 59.6 KB
/
easendmailobj.tlh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Created by Microsoft (R) C/C++ Compiler Version 14.16.27034.0 (66017635).
//
// easendmailobj.tlh
//
// C++ source equivalent of Win32 type library ..\\..\\EASendMailObj\Release\\EASendMailObj.dll
// compiler-generated file created 10/20/20 at 09:32:19 - DO NOT EDIT!
#pragma once
#pragma pack(push, 8)
#include <comdef.h>
namespace EASendMailObjLib {
//
// Forward references and typedefs
//
struct __declspec(uuid("8b5a2bd0-5638-4cca-a7ff-91b9e6768ac4"))
/* LIBID */ __EASendMailObjLib;
struct __declspec(uuid("1ad28fc9-0c71-4e89-85c9-caecde8be3ab"))
/* dual interface */ IMail;
struct __declspec(uuid("a2809780-c98e-4c6d-a552-dab146d4ad12"))
/* dual interface */ ICertificate;
struct __declspec(uuid("dc8d5635-b8e7-441e-b550-ce1bf3ba5c55"))
/* dual interface */ ICertificateCollection;
struct __declspec(uuid("92298be3-adec-438f-800c-cf6311a7df1d"))
/* dual interface */ IFastSender;
struct __declspec(uuid("b62298b7-a091-4a42-8d50-b7f0194de25a"))
/* dual interface */ ISimpleJsonArray;
struct __declspec(uuid("08088dbb-a031-4dce-a4df-7683cbe706af"))
/* dual interface */ ISimpleJsonParser;
struct __declspec(uuid("217785e8-1188-4fdd-bbb8-1eb104d32151"))
/* dual interface */ IBrowserUi;
struct __declspec(uuid("011e1175-8ac1-40d5-bc61-903999faac8d"))
/* dual interface */ IHttpListener;
struct __declspec(uuid("68cb8b02-d4aa-4a16-97a0-6b9488f98189"))
/* dispinterface */ _IMailEvents;
struct /* coclass */ Mail;
struct __declspec(uuid("a1b45f08-67e7-4276-a7ca-7664c08f9ef7"))
/* dispinterface */ _IFastSenderEvents;
struct /* coclass */ FastSender;
struct /* coclass */ Certificate;
struct /* coclass */ CertificateCollection;
struct /* coclass */ SimpleJsonParser;
struct /* coclass */ SimpleJsonArray;
struct /* coclass */ OAuthResponseParser;
struct __declspec(uuid("2b8c75e2-9631-4834-9d3b-32c51c7fb962"))
/* dual interface */ IOAuthResponseParser;
struct /* coclass */ BrowserUi;
struct __declspec(uuid("a386c7cb-8547-451e-a7dc-cd74ba675247"))
/* dispinterface */ _IHttpListenerEvents;
struct /* coclass */ HttpListener;
//
// Smart pointer typedef declarations
//
_COM_SMARTPTR_TYPEDEF(ISimpleJsonArray, __uuidof(ISimpleJsonArray));
_COM_SMARTPTR_TYPEDEF(IBrowserUi, __uuidof(IBrowserUi));
_COM_SMARTPTR_TYPEDEF(IHttpListener, __uuidof(IHttpListener));
_COM_SMARTPTR_TYPEDEF(_IMailEvents, __uuidof(_IMailEvents));
_COM_SMARTPTR_TYPEDEF(_IFastSenderEvents, __uuidof(_IFastSenderEvents));
_COM_SMARTPTR_TYPEDEF(IOAuthResponseParser, __uuidof(IOAuthResponseParser));
_COM_SMARTPTR_TYPEDEF(_IHttpListenerEvents, __uuidof(_IHttpListenerEvents));
_COM_SMARTPTR_TYPEDEF(IMail, __uuidof(IMail));
_COM_SMARTPTR_TYPEDEF(IFastSender, __uuidof(IFastSender));
_COM_SMARTPTR_TYPEDEF(ICertificate, __uuidof(ICertificate));
_COM_SMARTPTR_TYPEDEF(ICertificateCollection, __uuidof(ICertificateCollection));
_COM_SMARTPTR_TYPEDEF(ISimpleJsonParser, __uuidof(ISimpleJsonParser));
//
// Type library items
//
struct __declspec(uuid("b62298b7-a091-4a42-8d50-b7f0194de25a"))
ISimpleJsonArray : IDispatch
{
//
// Property data
//
__declspec(property(get=GetLength))
long Length;
__declspec(property(get=GetCount))
long Count;
//
// Wrapper methods for error-handling
//
long GetLength ( );
long GetCount ( );
HRESULT Add (
_bstr_t newVal );
HRESULT RemoveAt (
long Index );
HRESULT Clear ( );
_bstr_t Item (
long Index );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Length (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall get_Count (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall raw_Add (
/*[in]*/ BSTR newVal ) = 0;
virtual HRESULT __stdcall raw_RemoveAt (
/*[in]*/ long Index ) = 0;
virtual HRESULT __stdcall raw_Clear ( ) = 0;
virtual HRESULT __stdcall raw_Item (
/*[in]*/ long Index,
/*[out,retval]*/ BSTR * pVal ) = 0;
};
struct __declspec(uuid("217785e8-1188-4fdd-bbb8-1eb104d32151"))
IBrowserUi : IDispatch
{
//
// Wrapper methods for error-handling
//
VARIANT_BOOL OpenUrl (
_bstr_t URL );
VARIANT_BOOL OpenIEObject (
_bstr_t URL,
long Left,
long Top,
long Height,
long Width );
_bstr_t GetLastError ( );
VARIANT_BOOL OpenIE (
_bstr_t URL,
VARIANT_BOOL IsPrivate );
_bstr_t GetIEVersion ( );
HRESULT ClosePrivateIE ( );
VARIANT_BOOL IsPrivateIEClosed ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_OpenUrl (
/*[in]*/ BSTR URL,
/*[out,retval]*/ VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall raw_OpenIEObject (
/*[in]*/ BSTR URL,
/*[in]*/ long Left,
/*[in]*/ long Top,
/*[in]*/ long Height,
/*[in]*/ long Width,
/*[out,retval]*/ VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall raw_GetLastError (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall raw_OpenIE (
/*[in]*/ BSTR URL,
/*[in]*/ VARIANT_BOOL IsPrivate,
/*[out,retval]*/ VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall raw_GetIEVersion (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall raw_ClosePrivateIE ( ) = 0;
virtual HRESULT __stdcall raw_IsPrivateIEClosed (
/*[out,retval]*/ VARIANT_BOOL * pVal ) = 0;
};
struct __declspec(uuid("011e1175-8ac1-40d5-bc61-903999faac8d"))
IHttpListener : IDispatch
{
//
// Property data
//
__declspec(property(get=GetRequestUrl))
_bstr_t RequestUrl;
__declspec(property(get=GetListenPort))
long ListenPort;
//
// Wrapper methods for error-handling
//
VARIANT_BOOL Create (
_bstr_t IPv4Address,
long Port );
VARIANT_BOOL GetRequestUrl (
long Timeout );
VARIANT_BOOL SendResponse (
_bstr_t ResponseCode,
_bstr_t ContentType,
_bstr_t Content );
HRESULT Close ( );
_bstr_t GetRequestUrl ( );
long GetListenPort ( );
_bstr_t GetLastError ( );
HRESULT ClearUrl ( );
VARIANT_BOOL BeginGetRequestUrl ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Create (
/*[in]*/ BSTR IPv4Address,
/*[in]*/ long Port,
/*[out,retval]*/ VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall raw_GetRequestUrl (
/*[in]*/ long Timeout,
/*[out,retval]*/ VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall raw_SendResponse (
/*[in]*/ BSTR ResponseCode,
/*[in]*/ BSTR ContentType,
/*[in]*/ BSTR Content,
/*[out,retval]*/ VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall raw_Close ( ) = 0;
virtual HRESULT __stdcall get_RequestUrl (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall get_ListenPort (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall raw_GetLastError (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall raw_ClearUrl ( ) = 0;
virtual HRESULT __stdcall raw_BeginGetRequestUrl (
/*[out,retval]*/ VARIANT_BOOL * pVal ) = 0;
};
struct __declspec(uuid("68cb8b02-d4aa-4a16-97a0-6b9488f98189"))
_IMailEvents : IDispatch
{
//
// Wrapper methods for error-handling
//
// Methods:
HRESULT OnClosed ( );
HRESULT OnSending (
long lSent,
long lTotal );
HRESULT OnError (
long lError,
_bstr_t ErrDescription );
HRESULT OnConnected ( );
HRESULT OnAuthenticated ( );
HRESULT OnSendCommand (
BSTR * Command );
HRESULT OnServerRespond (
BSTR * Response );
HRESULT OnWriteLog (
_bstr_t LogContent );
};
struct __declspec(uuid("df8a4fe2-221a-4504-987a-3fd4720db929"))
Mail;
// [ default ] interface IMail
// [ default, source ] dispinterface _IMailEvents
struct __declspec(uuid("a1b45f08-67e7-4276-a7ca-7664c08f9ef7"))
_IFastSenderEvents : IDispatch
{
//
// Wrapper methods for error-handling
//
// Methods:
HRESULT OnSent (
long lRet,
_bstr_t ErrDesc,
long nKey,
_bstr_t tParam,
_bstr_t senderAddr,
_bstr_t Recipients );
HRESULT OnConnected (
long nKey,
_bstr_t tParam );
HRESULT OnAuthenticated (
long nKey,
_bstr_t tParam );
HRESULT OnSending (
long lSent,
long lTotal,
long nKey,
_bstr_t tParam );
HRESULT OnBeforeConnect (
BSTR * Server,
BSTR * User,
BSTR * Password,
long * Port,
VARIANT_BOOL * SSL );
};
struct __declspec(uuid("ff80631d-e750-4c67-afc3-5170ab72518b"))
FastSender;
// [ default ] interface IFastSender
// [ default, source ] dispinterface _IFastSenderEvents
struct __declspec(uuid("eafc4eaa-9390-492a-8e53-e179527780f6"))
Certificate;
// [ default ] interface ICertificate
struct __declspec(uuid("036c2f8c-8d3c-4f4b-9b36-3b6f1d29c0b4"))
CertificateCollection;
// [ default ] interface ICertificateCollection
struct __declspec(uuid("dd6b3c53-1871-4adf-9c71-24b682012371"))
SimpleJsonParser;
// [ default ] interface ISimpleJsonParser
struct __declspec(uuid("6c589c71-6fdc-4859-a9cd-f3a7ea2206d0"))
SimpleJsonArray;
// [ default ] interface ISimpleJsonArray
struct __declspec(uuid("60534020-0887-486d-b6b7-0f177d43c00c"))
OAuthResponseParser;
// [ default ] interface IOAuthResponseParser
struct __declspec(uuid("2b8c75e2-9631-4834-9d3b-32c51c7fb962"))
IOAuthResponseParser : IDispatch
{
//
// Property data
//
__declspec(property(get=GetAccessToken))
_bstr_t AccessToken;
__declspec(property(get=GetRefreshToken))
_bstr_t RefreshToken;
__declspec(property(get=GetIdToken))
_bstr_t IdToken;
__declspec(property(get=GetTokenExpiresInSeconds))
long TokenExpiresInSeconds;
__declspec(property(get=GetEmailInIdToken))
_bstr_t EmailInIdToken;
//
// Wrapper methods for error-handling
//
HRESULT Load (
_bstr_t Input );
_bstr_t GetAccessToken ( );
_bstr_t GetRefreshToken ( );
_bstr_t GetIdToken ( );
long GetTokenExpiresInSeconds ( );
_bstr_t GetEmailInIdToken ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Load (
/*[in]*/ BSTR Input ) = 0;
virtual HRESULT __stdcall get_AccessToken (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall get_RefreshToken (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall get_IdToken (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall get_TokenExpiresInSeconds (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall get_EmailInIdToken (
/*[out,retval]*/ BSTR * pVal ) = 0;
};
struct __declspec(uuid("539c9dbc-57d4-4acb-8a91-329a2cc6270e"))
BrowserUi;
// [ default ] interface IBrowserUi
struct __declspec(uuid("a386c7cb-8547-451e-a7dc-cd74ba675247"))
_IHttpListenerEvents : IDispatch
{
//
// Wrapper methods for error-handling
//
// Methods:
HRESULT OnRequest (
IDispatch * oSender,
_bstr_t URL );
HRESULT OnError (
IDispatch * oSender,
_bstr_t ErrorDescription );
};
struct __declspec(uuid("7cff2534-946a-495e-a356-7d01f71f3449"))
HttpListener;
// [ default ] interface IHttpListener
// [ default, source ] dispinterface _IHttpListenerEvents
struct __declspec(uuid("1ad28fc9-0c71-4e89-85c9-caecde8be3ab"))
IMail : IDispatch
{
//
// Property data
//
__declspec(property(get=GetBodyFormat,put=PutBodyFormat))
long BodyFormat;
__declspec(property(get=GetBodyText,put=PutBodyText))
_bstr_t BodyText;
__declspec(property(get=GetCharset,put=PutCharset))
_bstr_t Charset;
__declspec(property(get=GetFrom,put=PutFrom))
_bstr_t From;
__declspec(property(get=GetFromAddr,put=PutFromAddr))
_bstr_t FromAddr;
__declspec(property(get=GetLogFileName,put=PutLogFileName))
_bstr_t LogFileName;
__declspec(property(get=GetLicenseCode,put=PutLicenseCode))
_bstr_t LicenseCode;
__declspec(property(get=GetServerAddr,put=PutServerAddr))
_bstr_t ServerAddr;
__declspec(property(get=GetServerPort,put=PutServerPort))
long ServerPort;
__declspec(property(get=GetSubject,put=PutSubject))
_bstr_t Subject;
__declspec(property(get=GetReplyTo,put=PutReplyTo))
_bstr_t ReplyTo;
__declspec(property(get=GetPriority,put=PutPriority))
long Priority;
__declspec(property(get=GetTimeout,put=PutTimeout))
long Timeout;
__declspec(property(get=GetUserName,put=PutUserName))
_bstr_t UserName;
__declspec(property(get=GetPassword,put=PutPassword))
_bstr_t Password;
__declspec(property(get=GetVersion))
_bstr_t Version;
__declspec(property(get=GetAsynchronous,put=PutAsynchronous))
long Asynchronous;
__declspec(property(get=GetAltBody,put=PutAltBody))
_bstr_t AltBody;
__declspec(property(get=GetAnonymous,put=PutAnonymous))
long Anonymous;
__declspec(property(get=GetKeepConnection,put=PutKeepConnection))
long KeepConnection;
__declspec(property(get=GetTransferEncoding,put=PutTransferEncoding))
long TransferEncoding;
__declspec(property(get=GetComputerName,put=PutComputerName))
_bstr_t ComputerName;
__declspec(property(get=GetBodyFormatEx,put=PutBodyFormatEx))
_bstr_t BodyFormatEx;
__declspec(property(get=GetHeaderEncoding,put=PutHeaderEncoding))
long HeaderEncoding;
__declspec(property(get=GetTryAllSmtpServers,put=PutTryAllSmtpServers))
long TryAllSmtpServers;
__declspec(property(get=GetRawModeEnable,put=PutRawModeEnable))
long RawModeEnable;
__declspec(property(get=GetWrapEmailAddr,put=PutWrapEmailAddr))
long WrapEmailAddr;
__declspec(property(get=GetDeliveryNotification,put=PutDeliveryNotification))
long DeliveryNotification;
__declspec(property(get=Get_Idle))
long _Idle;
__declspec(property(get=GetSSL_ignorecerterror,put=PutSSL_ignorecerterror))
long SSL_ignorecerterror;
__declspec(property(get=GetSSL_starttls,put=PutSSL_starttls))
long SSL_starttls;
__declspec(property(get=GetSSL_enabled))
long SSL_enabled;
__declspec(property(get=Getraw_Content,put=Putraw_Content))
_bstr_t raw_Content;
__declspec(property(get=GetLogLevel,put=PutLogLevel))
long LogLevel;
__declspec(property(get=GetSignerCert,put=PutSignerCert))
ICertificatePtr SignerCert;
__declspec(property(get=GetRecipientsCerts))
ICertificateCollectionPtr RecipientsCerts;
__declspec(property(get=GetReturnPath,put=PutReturnPath))
_bstr_t ReturnPath;
__declspec(property(get=GetLocalIP,put=PutLocalIP))
_bstr_t LocalIP;
__declspec(property(get=GetAuthType,put=PutAuthType))
long AuthType;
__declspec(property(get=GetSpecialFlags,put=PutSpecialFlags))
long SpecialFlags;
__declspec(property(get=GetDisplayTo,put=PutDisplayTo))
_bstr_t DisplayTo;
__declspec(property(get=GetDate,put=PutDate))
DATE Date;
__declspec(property(get=GetMessageID,put=PutMessageID))
_bstr_t MessageID;
__declspec(property(get=GetNoWrapBody,put=PutNoWrapBody))
long NoWrapBody;
__declspec(property(get=GetEncryptionAlgorithm,put=PutEncryptionAlgorithm))
long EncryptionAlgorithm;
__declspec(property(get=GetSocksProxyServer,put=PutSocksProxyServer))
_bstr_t SocksProxyServer;
__declspec(property(get=GetSocksProxyUser,put=PutSocksProxyUser))
_bstr_t SocksProxyUser;
__declspec(property(get=GetSocksProxyPassword,put=PutSocksProxyPassword))
_bstr_t SocksProxyPassword;
__declspec(property(get=GetSocksProxyPort,put=PutSocksProxyPort))
long SocksProxyPort;
__declspec(property(get=GetProxyProtocol,put=PutProxyProtocol))
long ProxyProtocol;
__declspec(property(get=GetDK_PublicKey))
_bstr_t DK_PublicKey;
__declspec(property(get=GetReadReceipt,put=PutReadReceipt))
VARIANT_BOOL ReadReceipt;
__declspec(property(get=GetRecipients))
_variant_t Recipients;
__declspec(property(get=GetStyle,put=PutStyle))
long Style;
__declspec(property(get=GetAutoCalendar,put=PutAutoCalendar))
long AutoCalendar;
__declspec(property(get=GetAttachmentCount))
long AttachmentCount;
__declspec(property(get=GetDnsServerIP,put=PutDnsServerIP))
_bstr_t DnsServerIP;
__declspec(property(get=GetProtocol,put=PutProtocol))
long Protocol;
__declspec(property(get=GetAlias,put=PutAlias))
_bstr_t Alias;
__declspec(property(get=GetDrafts,put=PutDrafts))
_bstr_t Drafts;
__declspec(property(get=GetSender,put=PutSender))
_bstr_t Sender;
__declspec(property(get=GetHttpProxyAuthType,put=PutHttpProxyAuthType))
long HttpProxyAuthType;
__declspec(property(get=GetSMIMERFCCompatibility,put=PutSMIMERFCCompatibility))
VARIANT_BOOL SMIMERFCCompatibility;
__declspec(property(get=GetPIPELINING,put=PutPIPELINING))
VARIANT_BOOL PIPELINING;
__declspec(property(get=GetIgnoreDeliveryNotificationError,put=PutIgnoreDeliveryNotificationError))
long IgnoreDeliveryNotificationError;
__declspec(property(get=GetIPv6Policy,put=PutIPv6Policy))
long IPv6Policy;
__declspec(property(get=GetLocalIP6,put=PutLocalIP6))
_bstr_t LocalIP6;
__declspec(property(get=GetMimeSplitor,put=PutMimeSplitor))
_bstr_t MimeSplitor;
__declspec(property(get=GetSaveCopy,put=PutSaveCopy))
VARIANT_BOOL SaveCopy;
__declspec(property(get=GetSignatureHashAlgorithm,put=PutSignatureHashAlgorithm))
long SignatureHashAlgorithm;
__declspec(property(get=GetAttachmentEncoding,put=PutAttachmentEncoding))
long AttachmentEncoding;
__declspec(property(get=GetSignatureEncryptionAlgorithm,put=PutSignatureEncryptionAlgorithm))
long SignatureEncryptionAlgorithm;
__declspec(property(get=GetOaepHashAlgorithm,put=PutOaepHashAlgorithm))
long OaepHashAlgorithm;
__declspec(property(get=GetConnectType,put=PutConnectType))
long ConnectType;
__declspec(property(get=GetEWSImpersonatedUser,put=PutEWSImpersonatedUser))
_bstr_t EWSImpersonatedUser;
//
// Wrapper methods for error-handling
//
long GetBodyFormat ( );
void PutBodyFormat (
long pVal );
_bstr_t GetBodyText ( );
void PutBodyText (
_bstr_t pVal );
_bstr_t GetCharset ( );
void PutCharset (
_bstr_t pVal );
_bstr_t GetFrom ( );
void PutFrom (
_bstr_t pVal );
_bstr_t GetFromAddr ( );
void PutFromAddr (
_bstr_t pVal );
_bstr_t GetLogFileName ( );
void PutLogFileName (
_bstr_t pVal );
_bstr_t GetLicenseCode ( );
void PutLicenseCode (
_bstr_t pVal );
_bstr_t GetServerAddr ( );
void PutServerAddr (
_bstr_t pVal );
long GetServerPort ( );
void PutServerPort (
long pVal );
_bstr_t GetSubject ( );
void PutSubject (
_bstr_t pVal );
_bstr_t GetReplyTo ( );
void PutReplyTo (
_bstr_t pVal );
long GetPriority ( );
void PutPriority (
long pVal );
long GetTimeout ( );
void PutTimeout (
long pVal );
_bstr_t GetUserName ( );
void PutUserName (
_bstr_t pVal );
_bstr_t GetPassword ( );
void PutPassword (
_bstr_t pVal );
_bstr_t GetVersion ( );
long GetAsynchronous ( );
void PutAsynchronous (
long pVal );
_bstr_t GetAltBody ( );
void PutAltBody (
_bstr_t pVal );
long AddAttachment (
_bstr_t strFile );
long AddRecipient (
_bstr_t strName,
_bstr_t strAddress,
long Flags );
HRESULT ClearAttachment ( );
HRESULT ClearRecipient ( );
HRESULT ConvertHTML (
long Flags );
long ImportMail (
_bstr_t strFile );
HRESULT Reset ( );
long SendMail ( );
long AddAttachmentEx (
_bstr_t strFile,
_bstr_t strAlt );
_bstr_t AddInline (
_bstr_t strFile );
_bstr_t AddInlineEx (
_bstr_t strFile,
_bstr_t strAlt );
HRESULT ClearInline ( );
long SaveMail (
_bstr_t strFile );
long AddHeader (
_bstr_t strHeader,
_bstr_t strValue );
HRESULT ClearHeader ( );
HRESULT Terminate ( );
long GetLastError ( );
_bstr_t GetLastErrDescription ( );
long GetAnonymous ( );
void PutAnonymous (
long pVal );
HRESULT SetMailer (
_bstr_t Mailer );
long GetKeepConnection ( );
void PutKeepConnection (
long pVal );
long ImportMailEx (
_bstr_t strFile );
long GetTransferEncoding ( );
void PutTransferEncoding (
long pVal );
_bstr_t GetEmailServer (
_bstr_t EmailAddr );
long AddRecipientEx (
_bstr_t AddressList,
long Flags );
long AddAttachments (
_bstr_t sPath );
_bstr_t GetComputerName ( );
void PutComputerName (
_bstr_t pVal );
_bstr_t GetBodyFormatEx ( );
void PutBodyFormatEx (
_bstr_t pVal );
long GetHeaderEncoding ( );
void PutHeaderEncoding (
long pVal );
long SaveMailEx (
_bstr_t PickupPath );
long TestEmailAddr ( );
_bstr_t GetAllEmailServers (
_bstr_t EmailAddr );
_bstr_t GetEmailContent ( );
_bstr_t GetEmailHeaders ( );
_bstr_t GetAllRecipients ( );
_bstr_t GetSenderAddr ( );
long GetTryAllSmtpServers ( );
void PutTryAllSmtpServers (
long pVal );
long CreateFolder (
_bstr_t FolderName );
long DeleteFile (
_bstr_t FileName );
long GetRawModeEnable ( );
void PutRawModeEnable (
long pVal );
long GetWrapEmailAddr ( );
void PutWrapEmailAddr (
long pVal );
long GetDeliveryNotification ( );
void PutDeliveryNotification (
long pVal );
long Get_Idle ( );
long SSL_init ( );
long GetSSL_ignorecerterror ( );
void PutSSL_ignorecerterror (
long pVal );
long GetSSL_starttls ( );
void PutSSL_starttls (
long pVal );
HRESULT SSL_uninit ( );
long GetSSL_enabled ( );
_bstr_t Getraw_Content ( );
void Putraw_Content (
_bstr_t pVal );
long GetLogLevel ( );
void PutLogLevel (
long pVal );
ICertificatePtr GetSignerCert ( );
void PutSignerCert (
struct ICertificate * pVal );
ICertificateCollectionPtr GetRecipientsCerts ( );
HRESULT WriteLog (
_bstr_t LogContent );
_bstr_t GetReturnPath ( );
void PutReturnPath (
_bstr_t pVal );
_bstr_t GetLocalIP ( );
void PutLocalIP (
_bstr_t pVal );
long ImportHtml (
_bstr_t html,
_bstr_t BasePath );
long AddAttachment1 (
_bstr_t FileName,
const _variant_t & Stream );
long GetAuthType ( );
void PutAuthType (
long pVal );
long GetSpecialFlags ( );
void PutSpecialFlags (
long pVal );
_bstr_t GetDisplayTo ( );
void PutDisplayTo (
_bstr_t pVal );
DATE GetDate ( );
void PutDate (
DATE pVal );
_bstr_t GetMessageID ( );
void PutMessageID (
_bstr_t pVal );
HRESULT AppendBody (
_bstr_t BodyText,
long bAlt );
_bstr_t AddInline1 (
_bstr_t FileName,
const _variant_t & Stream );
long SendMailToQueue ( );
long GetNoWrapBody ( );
void PutNoWrapBody (
long pVal );
long GetEncryptionAlgorithm ( );
void PutEncryptionAlgorithm (
long pVal );
HRESULT ClearHeaderEx (
_bstr_t HeaderName );
_variant_t GetEmailChunk ( );
long AddAttachmentCT (
_bstr_t FileName,
_bstr_t ContentType );
_bstr_t GetSocksProxyServer ( );
void PutSocksProxyServer (
_bstr_t pVal );
_bstr_t GetSocksProxyUser ( );
void PutSocksProxyUser (
_bstr_t pVal );
_bstr_t GetSocksProxyPassword ( );
void PutSocksProxyPassword (
_bstr_t pVal );
long GetSocksProxyPort ( );
void PutSocksProxyPort (
long pVal );
long GetProxyProtocol ( );
void PutProxyProtocol (
long pVal );
_bstr_t GetDK_PublicKey ( );
long LoadMessage (
_bstr_t FileName );
VARIANT_BOOL GetReadReceipt ( );
void PutReadReceipt (
VARIANT_BOOL pVal );
long LoadMessageChunk (
const _variant_t & newVal );
_variant_t GetRecipients ( );
long GetStyle ( );
void PutStyle (
long pVal );
HRESULT SetAttHeader (
long Index,
_bstr_t HeaderKey,
_bstr_t HeaderValue );
long GetAutoCalendar ( );
void PutAutoCalendar (
long pVal );
long GetAttachmentCount ( );
_bstr_t GetDnsServerIP ( );
void PutDnsServerIP (
_bstr_t pVal );
long SendMailToQueueEx (
_bstr_t Instant );
long LoadRawMessage (
_bstr_t FileName,
long Flag );
long GetProtocol ( );
void PutProtocol (
long pVal );
_bstr_t GetAlias ( );
void PutAlias (
_bstr_t pVal );
_bstr_t GetDrafts ( );
void PutDrafts (
_bstr_t pVal );
_bstr_t GetSender ( );
void PutSender (
_bstr_t pVal );
HRESULT Quit ( );
HRESULT Close ( );
long GetHttpProxyAuthType ( );
void PutHttpProxyAuthType (
long pVal );
VARIANT_BOOL GetSMIMERFCCompatibility ( );
void PutSMIMERFCCompatibility (
VARIANT_BOOL pVal );
VARIANT_BOOL GetPIPELINING ( );
void PutPIPELINING (
VARIANT_BOOL pVal );
long GetIgnoreDeliveryNotificationError ( );
void PutIgnoreDeliveryNotificationError (
long pVal );
long GetIPv6Policy ( );
void PutIPv6Policy (
long pVal );
_bstr_t GetLocalIP6 ( );
void PutLocalIP6 (
_bstr_t pVal );
long PostToRemoteQueue (
_bstr_t Instance,
_bstr_t URL,
_bstr_t User,
_bstr_t Password );
_bstr_t GetMimeSplitor ( );
void PutMimeSplitor (
_bstr_t pVal );
VARIANT_BOOL GetSaveCopy ( );
void PutSaveCopy (
VARIANT_BOOL pVal );
long GetSignatureHashAlgorithm ( );
void PutSignatureHashAlgorithm (
long pVal );
long GetAttachmentEncoding ( );
void PutAttachmentEncoding (
long pVal );
long GetSignatureEncryptionAlgorithm ( );
void PutSignatureEncryptionAlgorithm (
long pVal );
long GetOaepHashAlgorithm ( );
void PutOaepHashAlgorithm (
long pVal );
void PutConnectType (
long pVal );
long GetConnectType ( );
void PutEWSImpersonatedUser (
_bstr_t pVal );
_bstr_t GetEWSImpersonatedUser ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_BodyFormat (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall put_BodyFormat (
/*[in]*/ long pVal ) = 0;
virtual HRESULT __stdcall get_BodyText (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_BodyText (
/*[in]*/ BSTR pVal ) = 0;
virtual HRESULT __stdcall get_Charset (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_Charset (
/*[in]*/ BSTR pVal ) = 0;
virtual HRESULT __stdcall get_From (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_From (
/*[in]*/ BSTR pVal ) = 0;
virtual HRESULT __stdcall get_FromAddr (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_FromAddr (
/*[in]*/ BSTR pVal ) = 0;
virtual HRESULT __stdcall get_LogFileName (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_LogFileName (
/*[in]*/ BSTR pVal ) = 0;
virtual HRESULT __stdcall get_LicenseCode (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_LicenseCode (
/*[in]*/ BSTR pVal ) = 0;
virtual HRESULT __stdcall get_ServerAddr (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_ServerAddr (
/*[in]*/ BSTR pVal ) = 0;
virtual HRESULT __stdcall get_ServerPort (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall put_ServerPort (
/*[in]*/ long pVal ) = 0;
virtual HRESULT __stdcall get_Subject (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_Subject (
/*[in]*/ BSTR pVal ) = 0;
virtual HRESULT __stdcall get_ReplyTo (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_ReplyTo (
/*[in]*/ BSTR pVal ) = 0;
virtual HRESULT __stdcall get_Priority (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall put_Priority (
/*[in]*/ long pVal ) = 0;
virtual HRESULT __stdcall get_Timeout (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall put_Timeout (
/*[in]*/ long pVal ) = 0;
virtual HRESULT __stdcall get_UserName (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_UserName (
/*[in]*/ BSTR pVal ) = 0;
virtual HRESULT __stdcall get_Password (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_Password (
/*[in]*/ BSTR pVal ) = 0;
virtual HRESULT __stdcall get_Version (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall get_Asynchronous (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall put_Asynchronous (
/*[in]*/ long pVal ) = 0;
virtual HRESULT __stdcall get_AltBody (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_AltBody (
/*[in]*/ BSTR pVal ) = 0;
virtual HRESULT __stdcall raw_AddAttachment (
/*[in]*/ BSTR strFile,
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall raw_AddRecipient (
/*[in]*/ BSTR strName,
/*[in]*/ BSTR strAddress,
/*[in]*/ long Flags,
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall raw_ClearAttachment ( ) = 0;
virtual HRESULT __stdcall raw_ClearRecipient ( ) = 0;
virtual HRESULT __stdcall raw_ConvertHTML (
/*[in]*/ long Flags ) = 0;
virtual HRESULT __stdcall raw_ImportMail (
/*[in]*/ BSTR strFile,
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall raw_Reset ( ) = 0;
virtual HRESULT __stdcall raw_SendMail (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall raw_AddAttachmentEx (
/*[in]*/ BSTR strFile,
/*[in]*/ BSTR strAlt,
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall raw_AddInline (
/*[in]*/ BSTR strFile,
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall raw_AddInlineEx (
/*[in]*/ BSTR strFile,
/*[in]*/ BSTR strAlt,
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall raw_ClearInline ( ) = 0;
virtual HRESULT __stdcall raw_SaveMail (
/*[in]*/ BSTR strFile,
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall raw_AddHeader (
/*[in]*/ BSTR strHeader,
/*[in]*/ BSTR strValue,
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall raw_ClearHeader ( ) = 0;
virtual HRESULT __stdcall raw_Terminate ( ) = 0;
virtual HRESULT __stdcall raw_GetLastError (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall raw_GetLastErrDescription (
/*[out,retval]*/ BSTR * pVal ) = 0;
virtual HRESULT __stdcall get_Anonymous (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall put_Anonymous (
/*[in]*/ long pVal ) = 0;
virtual HRESULT __stdcall raw_SetMailer (
/*[in]*/ BSTR Mailer ) = 0;
virtual HRESULT __stdcall get_KeepConnection (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall put_KeepConnection (
/*[in]*/ long pVal ) = 0;
virtual HRESULT __stdcall raw_ImportMailEx (
/*[in]*/ BSTR strFile,
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall get_TransferEncoding (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall put_TransferEncoding (
/*[in]*/ long pVal ) = 0;
virtual HRESULT __stdcall raw_GetEmailServer (
/*[in]*/ BSTR EmailAddr,