/* * ATLMail by Gavin W Landon (aka Chizl) ( Winsock Internet mail delivery component ) * Copyright (C) 1999, ..., 2002 Gavin W. Landon (aka Chizl) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Gavin W. Landon (aka Chizl) * */ // ATLMail.idl : IDL source for ATLMail.dll // // This file will be processed by the MIDL tool to // produce the type library (ATLMail.tlb) and marshalling code. import "oaidl.idl"; import "ocidl.idl"; [ object, uuid(E6F05E78-4062-4612-8156-82815D8F0347), dual, helpstring("IInit Interface"), pointer_default(unique) ] interface IInit : IDispatch { [propget, id(1), helpstring("property MailServer")] HRESULT MailServer([out, retval] BSTR *pVal); [propput, id(1), helpstring("property MailServer")] HRESULT MailServer([in] BSTR newVal); [propget, id(2), helpstring("property MailPort")] HRESULT MailPort([out, retval] long *pVal); [propput, id(2), helpstring("property MailPort")] HRESULT MailPort([in] long newVal); [propget, id(3), helpstring("property From")] HRESULT From([out, retval] BSTR *pVal); [propput, id(3), helpstring("property From")] HRESULT From([in] BSTR newVal); [propget, id(4), helpstring("property Subject")] HRESULT Subject([out, retval] BSTR *pVal); [propput, id(4), helpstring("property Subject")] HRESULT Subject([in] BSTR newVal); [propget, id(5), helpstring("property Body")] HRESULT Body([out, retval] BSTR *pVal); [propput, id(5), helpstring("property Body")] HRESULT Body([in] BSTR newVal); [id(6), helpstring("method AddTo")] HRESULT AddTo([in] BSTR bstrTo); [id(7), helpstring("method AddCC")] HRESULT AddCC([in] BSTR bstrCC); [id(8), helpstring("method AddBCC")] HRESULT AddBCC([in] BSTR bstrBCC); [id(9), helpstring("method AddHeader")] HRESULT AddHeader([in] BSTR bstrHeader); [id(10), helpstring("method Connect")] HRESULT Connect([out, retval] long *pVal); [id(11), helpstring("method Disconnect")] HRESULT Disconnect([out, retval] long *pVal); [id(12), helpstring("method Send")] HRESULT Send([out, retval] long *pVal); [propget, id(13), helpstring("property ReplyTo")] HRESULT ReplyTo([out, retval] BSTR *pVal); [propput, id(13), helpstring("property ReplyTo")] HRESULT ReplyTo([in] BSTR newVal); [propget, id(14), helpstring("property SMTPUserName")] HRESULT SMTPUserName([out, retval] BSTR *pVal); [propput, id(14), helpstring("property SMTPUserName")] HRESULT SMTPUserName([in] BSTR newVal); [propget, id(15), helpstring("property SMTPPassword")] HRESULT SMTPPassword([out, retval] BSTR *pVal); [propput, id(15), helpstring("property SMTPPassword")] HRESULT SMTPPassword([in] BSTR newVal); [id(16), helpstring("method ResetAddedHeaders")] HRESULT ResetAddedHeaders(); [id(17), helpstring("method ResetTo")] HRESULT ResetTo(); [id(18), helpstring("method ResetCC")] HRESULT ResetCC(); [id(19), helpstring("method ResetBCC")] HRESULT ResetBCC(); [propget, id(20), helpstring("property ErrNum")] HRESULT ErrNum([out, retval] long *pVal); [propget, id(21), helpstring("property ErrText")] HRESULT ErrText([out, retval] BSTR *pVal); [propget, id(22), helpstring("property BounceTo")] HRESULT BounceTo([out, retval] BSTR *pVal); [propput, id(22), helpstring("property BounceTo")] HRESULT BounceTo([in] BSTR newVal); [id(23), helpstring("method AddAttachment")] HRESULT AddAttachment([in] BSTR bstrFilePath); [id(24), helpstring("method ResetAttachments")] HRESULT ResetAttachments(); [propget, id(25), helpstring("property IsHTML")] HRESULT IsHTML([out, retval] BOOL *pVal); [propput, id(25), helpstring("property IsHTML")] HRESULT IsHTML([in] BOOL newVal); [id(26), helpstring("method SendAsync")] HRESULT SendAsync([out, retval] long *pVal); [propget, id(27), helpstring("property Active")] HRESULT Active([out, retval] BOOL *pVal); [propget, id(28), helpstring("property Priority")] HRESULT Priority([out, retval] long *pVal); [propput, id(28), helpstring("property Priority")] HRESULT Priority([in] long newVal); [propget, id(29), helpstring("property Receipt")] HRESULT Receipt([out, retval] BOOL *pVal); [propput, id(29), helpstring("property Receipt")] HRESULT Receipt([in] BOOL newVal); }; [ uuid(E2B7D4C2-3935-4D76-BB04-F0C4AE9F4EC4), version(1.0), helpstring("ATLMail 2.2 (www.chizl.com)") ] library ATLMAILLib { importlib("stdole32.tlb"); importlib("stdole2.tlb"); [ uuid(703638F3-3A10-4372-B1B3-232806E04397), helpstring("Init Class") ] coclass Init { [default] interface IInit; }; };