home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hot Shareware 35
/
hot35.iso
/
ficheros
/
9TOOL
/
SMTPOP32.ZIP
/
SMTPOP32.SR_
/
SMTPOP32.SR
Wrap
Text File
|
1998-02-23
|
8KB
|
122 lines
$PBExportHeader$uo_smtpop.sru
$PBExportComments$Smtp, Pop3 DLL declarations - Copyright (c) 1997 H&S Technology, Inc. All Rights Reserved
forward
global type uo_smtpop from nonvisualobject
end type
end forward
global type uo_smtpop from nonvisualobject
end type
global uo_smtpop uo_smtpop
type prototypes
// Declarations for SMTPOP32.DLL
// H&S Technology, Inc.
// Copyright (c) 1997 H&S Technology, Inc. All Rights Reserved.
Function long smtp_Version() library "smtpop32.dll"
Function long smtp_LoginMail(string hostname, string username, string mailid, string localdomain) library "smtpop32.dll"
Function long smtp_InitMail(long lHandle) library "smtpop32.dll"
Function long smtp_To(long lHandle, string touser) library "smtpop32.dll"
Function long smtp_Cc(long lHandle, string cc) library "smtpop32.dll"
Function long smtp_Bcc(long lHandle, string bcc) library "smtpop32.dll"
Function long smtp_Subject(long lHandle, string subject) library "smtpop32.dll"
Function long smtp_OpenData(long lHandle) library "smtpop32.dll"
Function long smtp_WriteData(long lHandle, ref string buffer) library "smtpop32.dll"
Function long smtp_WriteRawData(long lHandle, ref string buffer) library "smtpop32.dll"
Function long smtp_CloseData(long lHandle) library "smtpop32.dll"
Function long smtp_MailBodyText(long lHandle, string buffer) library "smtpop32.dll"
Function long smtp_Noop(long lHandle) library "smtpop32.dll"
Function long smtp_Abort(long lHandle) library "smtpop32.dll"
Function long smtp_Verify(long lHandle, string cmd, ref string buffer, long blen) library "smtpop32.dll"
Function long smtp_Expand(long lHandle, string cmd, ref string buffer, long blen) library "smtpop32.dll"
Function long smtp_Help(long lHandle, ref string cmd, ref string buffer, long blen) library "smtpop32.dll"
Function long smtp_GetReply(long lHandle, ref string buffer, long blen) library "smtpop32.dll"
Function long smtp_ReplyCode(long lHandle) library "smtpop32.dll"
Function long smtp_LastMsg(ref string buffer, long blen) library "smtpop32.dll"
Function long smtp_Quit(long lHandle) library "smtpop32.dll"
Function long smtp_SendMail(long lHandle, string Touser, string Cc, string Bcc, &
string Subject, string Msg, string att_files, long eflag) library "smtpop32.dll"
Function long smtp_AddAttachFile(long lHandle, string fname, long file_type, ref string subtype, &
long encode_type) library "smtpop32.dll"
Function long smtp_EnableLog(string logfile, long options) library "smtpop32.dll"
Function long smtp_DisableLog() library "smtpop32.dll"
Function long smtp_Date(long lHandle, string sdate) library "smtpop32.dll"
Function long smtp_SetTimeZone(string tzone) library "smtpop32.dll"
// New for version 2.1
Function long smtp_SetTimeOut(long lHandle, long tval)library "smtpop32.dll"
Function long smtp_DefaultTimeOut(long timeout)library "smtpop32.dll"
Function long smtp_SetFromAddr(long lHandle, string from_addr)library "smtpop32.dll"
Function long smtp_LoginMailPort(string hostname, long al_port, string username, string mail_id, &
string localdomain)library "smtpop32.dll"
// New for version 2.2
Function long smtp_SetProgressBar(long lHandle, long on_off)library "smtpop32.dll"
Function long smtpop_DefaultProgressBar(long on_off)library "smtpop32.dll"
Function long pop3_NewHandle() library "smtpop32.dll"
Function long pop3_Login(long lHandle, string hostname, string username, string password) library "smtpop32.dll"
Function long pop3_LoginMail(string hostname, string username, string password) library "smtpop32.dll"
Function long pop3_GetReply(long lHandle, ref string buffer, long blen) library "smtpop32.dll"
Function long pop3_LastMsg(ref string buffer, long blen) library "smtpop32.dll"
Function long pop3_Quit(long lHandle) library "smtpop32.dll"
Function long pop3_MailStatus(long lHandle) library "smtpop32.dll"
Function long pop3_ListMails(long lHandle) library "smtpop32.dll"
Function long pop3_GetMailSize(long lHandle, long MsgNum) library "smtpop32.dll"
Function long pop3_ResultsSize(long lHandle) library "smtpop32.dll"
Function long pop3_GetResults(long lHandle, ref string buffer, long blen) library "smtpop32.dll"
Function long pop3_RetrieveMail(long lHandle, long MsgNum) library "smtpop32.dll"
Function long pop3_DeleteMail(long lHandle, long MsgNum) library "smtpop32.dll"
Function long pop3_LastMailRead(long lHandle) library "smtpop32.dll"
Function long pop3_ResetMail(long lHandle) library "smtpop32.dll"
Function long pop3_Noop(long lHandle) library "smtpop32.dll"
Function long pop3_GetMailHeader(long lHandle, ref string buffer, long blen, long startpos) library "smtpop32.dll"
Function long pop3_GetMailFrom(long lHandle, ref string buffer, long blen, long startpos) library "smtpop32.dll"
Function long pop3_GetMailTo(long lHandle, ref string buffer, long blen, long startpos) library "smtpop32.dll"
Function long pop3_GetMailCc(long lHandle, ref string buffer, long blen, long startpos) library "smtpop32.dll"
Function long pop3_GetMailSubject(long lHandle, ref string buffer, long blen, long startpos) library "smtpop32.dll"
Function long pop3_GetMailDate(long lHandle, ref string buffer, long blen, long startpos) library "smtpop32.dll"
Function long pop3_OpenMailFile(long lHandle, string ac_fname) library "smtpop32.dll"
Function long pop3_QuickScanFile(long lHandle, string ac_fname) library "smtpop32.dll"
Function long pop3_SaveAttachedTo(long lHandle, long Numb, string filename, &
long owflag) library "smtpop32.dll"
Function long pop3_GetAttachCount(long lHandle) library "smtpop32.dll"
Function long pop3_GetAttachedType(long lHandle, long Numb, ref string fcontent, &
long fclen, long startpos) library "smtpop32.dll"
Function long pop3_GetAttachedName(long lHandle, long Numb, &
ref string fname, long flen, long startpos) library "smtpop32.dll"
Function long pop3_RetrieveIntoFile(long lHandle, long MsgNum, string filename, &
long ovflag) library "smtpop32.dll"
Function long pop3_OpenAttached(long lHandle, long Numb) library "smtpop32.dll"
Function long pop3_ReadAttached(long lHandle, ref string buffer, long blen) library "smtpop32.dll"
Function long pop3_OpenReadBodyText(long lHandle) library "smtpop32.dll"
Function long pop3_ReadBodyText(long lHandle, ref string buffer, long blen) library "smtpop32.dll"
// New for version 2.1
Function long pop3_SetTimeOut(long lHandle, long tval)library "smtpop32.dll"
Function long pop3_LoginPort(long lHandle, string hostname, long al_port, &
string user, string pass)library "smtpop32.dll"
Function long pop3_GetDispositionType(long lHandle, long Numb, ref string ac_buffer, &
long al_blen, long startpos)library "smtpop32.dll"
Function long pop3_GetDispositionFname(long lHandle, long Numb, ref string ac_buffer, &
long al_blen, long startpos)library "smtpop32.dll"
Function long pop3_GetPartHeaders(long lHandle, long Numb, ref string ac_buffer, &
long al_blen, long startpos)library "smtpop32.dll"
Function long pop3_GetHeaderField(long lHandle, long Numb, string ac_header, ref string ac_buffer, &
long al_blen, long startpos)library "smtpop32.dll"
Function long pop3_GetHeaderType(long lHandle, long Numb, string ac_header, &
ref string ac_buffer, long al_blen, long startpos)library "smtpop32.dll"
Function long pop3_GetParmValue(long lHandle, long Numb, string ac_header, string ac_parm, &
ref string ac_buffer, long al_blen, long startpos)library "smtpop32.dll"
Function long pop3_QuickScanMail(long lHandle, long MsgNum)library "smtpop32.dll"
// New for version 2.2
Function long pop3_SetProgressBar(long lHandle, long on_off)library "smtpop32.dll"
end prototypes
on uo_smtpop.create
TriggerEvent( this, "constructor" )
end on
on uo_smtpop.destroy
TriggerEvent( this, "destructor" )
end on