ActiveEmail E-mail Toolkit
Manual Pages
© 1999-2007 - ActiveXperts Software B.V.
http://www.activexperts.com
info@activexperts.com
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" ) ' Create SmtpServer object
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" ) ' Create SmtpMail object
objSmtpServer.Connect( "smtp.mydomain.com" ) ' Establish connection
If( objSmtpServer.LastError = 0 ) Then
objSmtpMail.FromAddress = "sender@mydomain.com" ' From (e-mail address)
objSmtpMail.FromName = "ActiveEmail Demo" ' From (name)
objSmtpMail.Subject = "ActiveEmail Message"
objSmtpMail.Body = "Hello, how are you?"
objSmtpMail.AddTo "frank@myrecipients.com", "Frank" ' Add a recipient
objSmtpServer.Send( objSmtpMail ) ' Send mail now
objSmtpServer.Disconnect ' Disconnect
End If
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" ) ' Create SmtpServer object
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" ) ' Create SmtpMail object
Set objConstants = CreateObject( "ActiveXperts.EMailConstants" ) ' Create constants object
objSmtpServer.Connect( "smtp.mydomain.com" ) ' Establish connection
If( objSmtpServer.LastError = 0 ) Then
objSmtpMail.FromAddress = "sender@mydomain.com" ' From (e-mail address)
objSmtpMail.FromName = "ActiveEmail Demo" ' From (name)
objSmtpMail.Subject = "ActiveEmail Message"
objSmtpMail.Priority = objConstants.asMESSAGE_PRIORITY_HIGH ' High priority
objSmtpMail.BodyType = objConstants.asMESSAGE_BODY_HTML ' RTF/HTML body format)
objSmtpMail.Body = "<b>Hello, how are you?</b><br>I'm fine"
objSmtpMail.AddTo "frank@myrecipients.com", "Frank" ' Add a recipient
objSmtpMail.AddTo "harry@myrecipients.com", "Harry" ' Add a recipient
objSmtpMail.AddCc "joseph@myrecipients.com", "Joseph" ' Add a CC recipient
objSmtpMail.AddBcc "john@myrecipients.com", "John" ' Add a BCC recipient
objSmtpServer.Send( objSmtpMail ) ' Send mail now
objSmtpServer.Disconnect ' Disconnect
End If
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" ) ' Create SmtpServer object
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" ) ' Create SmtpMail object
objSmtpServer.Connect( "smtp.mydomain.com" ) ' Establish connection
If( objSmtpServer.LastError = 0 ) Then
objSmtpMail.FromAddress = "sender@mydomain.com"
objSmtpMail.FromName = "ActiveEmail Demo"
objSmtpMail.Subject = "ActiveEmail Message"
objSmtpMail.Body = "Hello, how are you?"
objSmtpMail.AddTo "frank@myrecipients.com", "Frank"
objSmtpMail.AddAttachment ".\picture1.jpg" ' Add attachment
objSmtpMail.AddAttachment ".\picture2.jpg" ' Add anotherattachment
objSmtpServer.Send( objSmtpMail ) ' Send mail now
objSmtpServer.Disconnect ' Disconnect
End If
Set objPop3Server = CreateObject ( "ActiveXperts.Pop3Server" ) ' Create Pop3Server object
objPop3Server.Connect "pop3.mydomain.com", "acc", "passwd" ' Connect to server, login using POP3 account 'acc'
If( objPop3Server.LastError = 0 ) Then
numMessages = objPop3Server.CountMessages()
For i = 1 to numMessages ' Iterate over all POP3 messages
Set objPop3Mail = objPop3Server.GetEmailHeader( i )
If ( objPop3Server.LastError = 0 ) Then
WScript.Echo "MessageID : " & objPop3Mail.ID
WScript.Echo " FromAddress : " & objPop3Mail.FromAddress
WScript.Echo " FromName : " & objPop3Mail.FromName
WScript.Echo " To : " & objPop3Mail.ToAddress
WScript.Echo " Subject : " & objPop3Mail.Subject
WScript.Echo " Date : " & objPop3Mail.Date
WScript.Echo vbCrLf
End If
Next
objSmtpServer.Disconnect ' Disconnect
End If
Set objPop3Server = CreateObject ( "ActiveXperts.Pop3Server" ) ' Create Pop3Server object
objPop3Server.Connect "pop3.mydomain.com", "acc", "passwd" ' Connect to server, login using POP3 account 'acc'
If( objPop3Server.LastError = 0 ) Then
numMessageID = CInt( inputbox( "1", "Enter message ID (1 <= Message ID <= Count" )
Set objPop3Mail = objPop3Server.GetEmail ( numMessageID )
If( objPop3Server.LastError = 0 ) Then
WScript.Echo "MessageID : " & objPop3Mail.ID
WScript.Echo " From : " & objPop3Mail.FromAddress
WScript.Echo " To : " & objPop3Mail.ToAddress
WScript.Echo " Cc : " & objPop3Mail.CcAddress
WScript.Echo " Reply Address : " & objPop3Mail.ReplyAddress
WScript.Echo " Subject : " & objPop3Mail.Subject
WScript.Echo " Priority : " & objPop3Mail.Priority
WScript.Echo " Date : " & objPop3Mail.Date
WScript.Echo " Hash : " & objPop3Mail.Hash
WScript.Echo " Header : " & Left ( objPop3Mail.Header, InStr ( objPop3Mail.Header, vbCrLf ) )
WScript.Echo " Body : " & Left ( objPop3Mail.Body, InStr ( objPop3Mail.Body, vbCrLf ) )
WScript.Echo " Attachments : " & objPop3Mail.CountAttachments & vbCrLf
numAttachments = objPop3Mail.CountAttachments
For i = 1 to numAttachments ' Iterate over all attachments
WScript.Echo "Attachment : " & objPop3Mail.GetAttachment ( i )
Next
End If
objSmtpServer.Disconnect ' Disconnect
End If
Dim objConstants As AEMAILLib.EMailConstants ' Declaration objConstants = New AEMAILLib.EMailConstants() ' Creation
Dim objSmtpServer As AEMAILLib.SmtpServer ' Declaration objSmtpServer = New AEMAILLib.SmtpServer() ' Creation
Dim objSmtpMail As AEMAILLib.SmtpMail ' Declaration objSmtpMail = New AEMAILLib.SmtpMail() ' Creation
Dim objPop3Server As AEMAILLib.Pop3Server ' Declaration objPop3Server = New AEMAILLib.Pop3Server() ' Creation
Dim objPop3Mail As AEMAILLib.Pop3Mail ' Declaration objPop3Mail = New AEMAILLib.Pop3Mail() ' Creation
using AEMAILLib; ... EmailConstants objConstants = new EmailConstants() ' Declaration and Creation
using AEMAILLib; ... SmtpServer objSmtpServer = new SmtpServer() ' Declaration and Creation
using AEMAILLib; ... SmtpMail objSmtpMail = new SmtpMail() ' Declaration and Creation
using AEMAILLib; ... Pop3Server objPop3Server = new Pop3Server() ' Declaration and Creation
using AEMAILLib; ... Pop3Mail objPop3Mail = new Pop3Mail() ' Declaration and Creation
Dim objConstants As AEMAILLib.EmailConstants ' Declaration Set objConstants = CreateObject( "ActiveXperts.EmailConstants" ) ' Creation
Dim objSmtpServer As AEMAILLib.SmtpServer ' Declaration Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" ) ' Creation
Dim objSmtpMail As AEMAILLib.SmtpMail ' Declaration Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" ) ' Creation
Dim objPop3Server As AEMAILLib.Pop3Server ' Declaration Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" ) ' Creation
Dim objPop3Mail As AEMAILLib.Pop3Mail ' Declaration Set objPop3Mail = CreateObject( "ActiveXperts.Pop3Mail" ) ' Creation
IEMailConstants *pConstants = NULL; ' Declaration
CoCreateInstance(CLSID_EMailConstants, NULL, CLSCTX_INPROC_SERVER, IID_IEMailConstants, (void**) &pConstants);
' Creation
ISmtpServer *pSmtpServer = NULL; ' Declaration
CoCreateInstance(CLSID_SmtpServer, NULL, CLSCTX_INPROC_SERVER, IID_ISmtpServer, (void**) &pSmtpServer);
' Creation
ISmtpMail *pSmtpMail = NULL; ' Declaration
CoCreateInstance(CLSID_SmtpMail, NULL, CLSCTX_INPROC_SERVER, IID_ISmtpMail, (void**) &pSmtpMail);
' Creation
IPop3Server *pPop3Server = NULL; ' Declaration
CoCreateInstance(CLSID_Pop3Server, NULL, CLSCTX_INPROC_SERVER, IID_IPop3Server, (void**) &pPop3Server);
' Creation
IPop3Mail *pPop3Mail = NULL; ' Declaration
CoCreateInstance(CLSID_Pop3Mail, NULL, CLSCTX_INPROC_SERVER, IID_IPop3Mail, (void**) &pPop3Mail);
' Creation
EMailConstants : TConstants; ' Declaration of the wrapper class objConstants : IConstants; ' Declaration of the interface class objConstants := EMailConstants.DefaultInterface; ' Creation new instance of the objectDeclare and create a new SmtpServer object in the following way:
SmtpServer : TSmtpServer; ' Declaration of the wrapper class objSmtpServer : ISmtpServer; ' Declaration of the interface class objSmtpServer := SmtpServer.DefaultInterface; ' Creation new instance of the objectDeclare and create a new SmtpMail object in the following way:
SmtpMail : TSmtpMail; ' Declaration of the wrapper class objSmtpMail : ISmtpMail; ' Declaration of the interface class objSmtpMail := SmtpMail.DefaultInterface; ' Creation new instance of the objectDeclare and create a new Pop3Server object in the following way:
Pop3Server : TPop3Server; ' Declaration of the wrapper class objPop3Server : IPop3Server; ' Declaration of the interface class objPop3Server := Pop3Server.DefaultInterface; ' Creation new instance of the objectDeclare and create a new Pop3Mail object in the following way:
Pop3Mail : TPop3Mail; ' Declaration of the wrapper class objPop3Mail : IPop3Mail; ' Declaration of the interface class objPop3Mail := Pop3Mail.DefaultInterface; ' Creation new instance of the object
<html>
<body>
Version:
<script language=vbscript runat=server>
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
Response.Write objSmtpServer.Version
</script>
</body>
</html>
Visual Basic .NET samples are installed as part of the product, but can also be found on the ActiveXperts web site.
<html>
<body>
Version:
<%
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer )
Response.Write objSmtpServer.Version
%>
</body>
</html>
Set objConstants = CreateObject( "ActiveXperts.EMailConstants" ) WScript.Echo objConstants.asMESSAGE_BODY_PLAIN WScript.Echo objConstants.asMESSAGE_BODY_HTML ...
|
|
|
|
|
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" ) ' Create SmtpServer object
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" ) ' Create SmtpMail object
objSmtpServer.Connect( "smtp.mydomain.com" ) ' Establish connection
If( objSmtpServer.LastError = 0 ) Then
objSmtpMail.FromAddress = "sender@mydomain.com" ' From (e-mail address)
objSmtpMail.FromName = "ActiveEmail Demo" ' From (name)
objSmtpMail.Subject = "ActiveEmail Message" ' Subject
objSmtpMail.Body = "Hello, how are you?" ' Body
objSmtpMail.AddTo "frank@myrecipients.com", "Frank" ' Add a recipient
objSmtpServer.Send( objSmtpMail ) ' Send mail now
objSmtpServer.Disconnect ' Disconnect
End If
|
|
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" ) ' Create SmtpServer object
...
WScript.Echo "Version: " & objSmtpServer.Version
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" ) ' Create SmtpServer object
...
WScript.Echo "ExpirationDate: " & objSmtpServer.ExpirationDate
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" ) ' Create SmtpServer object
...
objSmtpServer.LogFile = "c:\smtp.log" ' Specify log file
objSmtpServer.Connect( "smtp.mydomain.com" )
If( objSmtpServer.LastError = 0 )
...
objSmtpServer.Disconnect()
End If
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
...
objSmtpServer.HostPort = 7025 ' To specify an alternate port other than 25
objSmtpServer.Connect( "smtp.myserver.com" ) ' Attempt to connect on port 7025
...
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
Set objConstants = CreateObject( "ActiveXperts.EMailConstants" )
...
objSmtpServer.Authentication = objConstants.asAUTH_SMTP_MD5CRAM
objSmtpServer.Connect( "smtp.myserver.com", "userid", "passwd" ) ' Connect and authenticate using MD5/CRAM
...
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
...
objSmtpServer.Send
WScript.Echo "Result code: " & objSmtpServer.LastError
WScript.Echo "Result description: " & objSmtpServer.GetErrorDescription( objSmtpServer.LastError )
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
...
objSmtpServer.Send
WScript.Echo "LastError: " & objSmtpServer.LastError
WScript.Echo "Response of SMTP Server: " & objSmtp.LastSmtpResponse
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
objSmtpServer.Activate "xxxxx-xxxxx-xxxxx", True ' Use a valid registration code
' Pass True to make the activation persistent, so you need to call
' Activate only once. If you pass False, you need to call Activate
' each time the product is started.
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
objSmtpServer.Connect( "smtp.thisdomaindoesnotexist.com" )
WScript.Echo objSmtpServer.LastError
objSmtpServer.Clear()
WScript.Echo objSmtpServer.LastError
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
objSmtpServer.Connect( "smtp.domainname.com" )
If( objSmtpServer.LastError = 0 ) Then
objSmtpMail.From = "me@mydomain.com"
objSmtpMail.Subject = "This is my subject"
...
objSmtpServer.Send
objSmtpServer.Disconnect
End If
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
objSmtpServer.Connect( "exchange.domainname.com", "administrator", "mypassword" )
If( objSmtpServer.LastError = 0 ) Then
objSmtpMail.From = "me@mydomain.com"
objSmtpMail.Subject = "This is my subject"
...
objSmtpServer.Send
objSmtpServer.Disconnect
End If
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
objSmtpServer.Connect( "smtp.domainname.com" )
If( objSmtpServer.LastError = 0 ) Then
...
objSmtp.Disconnect
End If
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
objSmtpServer.Connect( "smtp.domainname.com" )
WScript.Echo objSmtpServer.LastError
If( objSmtpServer.IsConnected() Then )
WScript.Echo "Connected!"
Else
WScript.Echo "Not connected"
End If
...
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
objSmtpServer.Connect( "smtp.domainname.com" )
If( objSmtpServer.LastError = 0 ) Then
objSmtpMail.From = "me@mydomain.com"
objSmtpMail.AddTo "john@company.com", "My Friend John"
objSmtpMail.Subject = "This is my subject"
...
objSmtpServer.Send( objSmtpMail )
objSmtpServer.Disconnect
End If
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
...
objSmtpMail.From = "me@mydomain.com"
objSmtpMail.AddTo "john@company.com", "My Friend John"
objSmtpMail.Subject = "This is my subject"
...
objSmtpServer.Queue( "smtp.domainname.com", objSmtpMail )
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
objSmtpServer.Connect( "smtp.domainname.com" )
If( objSmtpServer.LastError = 0 ) Then
...
objSmtpServer.Disconnect
Else
WScript.Echo "Error description: " & objSmtpServer.GetErrorDescription( objSmtpServer.LastError )
End If
' Create a new SmtpMail object; assign values to properties
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
objSmtpMail.FromAddress = "sender@mydomain.com" ' From (e-mail address)
objSmtpMail.FromName = "ActiveEmail Demo" ' From (name)
objSmtpMail.Subject = "ActiveEmail Message" ' Subject
objSmtpMail.Body = "Hello, how are you?" ' Body
objSmtpMail.AddTo "frank@myrecipients.com", "Frank" ' Add a recipient
' Create a new SmtpServer object; connect to the mail server
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" ) ' Create SmtpServer object
objSmtpServer.Connect( "smtp.mydomain.com" ) ' Establish connection
If( objSmtpServer.LastError <> 0 ) Then
WScript.Quit
End If
' Send the message
objSmtpServer.Send( objSmtpMail ) ' Send mail now
objSmtpServer.Disconnect ' Disconnect
|
|
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
...
objSmtpMail.From = "me@mydomain.doc"
objSmtpMail.FromName = "This is Me"
...
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
...
objSmtpMail.Organization = "My Organization"
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
...
objSmtpMail.ReplyAddress = "myself@mydomain.com"
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
...
objSmtpMail.ReadReceiptAddress = "myself@mydomain.com"
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
Set objConstants = CreateObject( "ActiveXperts.EMailConstants" )
...
objSmtpMail.Encoding = objConstants.asMESSAGE_ENCODING_JAPANESE ' Message will be encoded as Japanese text
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" ) ... objSmtpMail.Subject = "This is an important message"
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
Set objConstants = CreateObject( "ActiveXperts.EMailConstants" )
...
objSmtpMail.Priority = objConstants.asPRIORITYHIGH ' High priority
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
...
' Default body format: plain text, so no need to change objSmtpMail.BodyType
objSmtpMail.Body = "This is my body message." & vbCrLf & "Best regards."
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
Set objConstants = CreateObject( "ActiveXperts.EMailConstants" ) ' Create constants object
...
objSmtpMail.BodyType = objConstants.asMESSAGE_BODY_HTML
objSmtpMail.Body = "<html><body>This is my <i>body message</i>.<br>Regards.</body></html>"
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
Set objConstants = CreateObject( "ActiveXperts.EMailConstants" ) ' Create constants object
...
objSmtpMail.AddAttachment "C:\MySelf.jpg"
objSmtpMail.AddAttachment "C:\MyWife.jpg"
objSmtpMail.BodyType = objConstants.asMESSAGE_BODY_HTML
objSmtpMail.Body = "<html><body>This <img SRC="cid:0000001"> is me <br>and <img SRC="cid:0000002"> my wife<br></body></html>
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
...
objSmtpMail.AddAttachment( "C:\File.txt" )
WScript.Echo "Result code: " & objSmtpMail.LastError
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" ) ' Create SmtpServer object
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
objSmtpServer.Connect( "smtp.domainname.com" )
If( objSmtpServer.LastError = 0 ) Then
objSmtpMail.From = "me@mydomain.com"
objSmtpMail.AddTo "john@company.com", "My Friend John"
objSmtpMail.Subject = "This is my subject"
objSmtpMail.Body = "This is my message to you"
objSmtpServer.Send( objSmtpMail )
objSmtpMail.Clear ' Clear mail properties
objSmtpMail.From = "me@mydomain.com"
objSmtpMail.AddTo "michael@company.com", "My Friend Michael"
objSmtpMail.Subject = "This is my subject"
objSmtpMail.Body = "This is my message to you"
objSmtpServer.Send( objSmtpMail )
objSmtpServer.Disconnect
End If
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
objSmtpMail.AddTo "roger@thecompany.com", "My friend Roger"
objSmtpMail.AddTo "mike@thecompany.com", ""
objSmtpMail.AddCc "dennis@thecompany.com", "My friend Dennis"
objSmtpMail.AddBcc "jim@thecompany.com", ""
objSmtpMail.AddBcc "joe@thecompany.com", "My friend Joe"
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
objSmtpMail.AddAttachment "c:\temp\mypicture.jpg"
objSmtpMail.AddAttachment "c:\temp\mydocument.doc"
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
Set objSmtpServer = CreateObject( "ActiveXperts.SmtpServer" )
objSmtpMail.LoadMIME( "C:\File.mim" )
WScript.Echo "LoadMIME, result: " & objSmtpMail.LastError
...
objSmtpServer.Connect( "mailserver.company.intra" )
objSmtpServer.Send( objSmtpMail )
objSmtpServer.Disconnect()
Set objSmtpMail = CreateObject( "ActiveXperts.SmtpMail" )
objSmtpMail.From = "me@mydomain.com"
objSmtpMail.AddTo "john@company.com", "My Friend John"
objSmtpMail.Subject = "This is my subject"
objSmtpMail.Body = "This is my message to you"
objSmtpMail.AddAttachment "c:\temp\mypicture.jpg"
objSmtpMail.AddAttachment "c:\temp\mydocument.doc"
objSmtpMail.SaveMIME( "C:\File.mim" )
WScript.Echo "SaveMIME, result: " & objSmtpMail.LastError
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" ) ' Create Pop3Server object
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" ) ' Connect to the POP3 server, and login using
' account 'userid', password 'passwd'
If( objPop3Server.LastError = 0 ) Then
numMessages = objPop3Server.CountMessages() ' Count the messages in the mailbox
WScript.Echo numMessages & " new message(s) in mailbox."
For i = 1 to 3 ' Iterate over the first 3 messages in the mailbox
Set objPop3Mail = objPop3Server.GetEmail( i ) ' Get e-mail
If ( objPop3Server.LastError = 0 ) Then ' If message does exist then show details
WScript.Echo "MessageID : " & objPop3Mail.ID ' Show e-mail information
WScript.Echo " Size : " & objPop3Mail.Size
WScript.Echo " FromAddress : " & objPop3Mail.FromAddress
WScript.Echo " FromName : " & objPop3Mail.FromName
WScript.Echo " Organization : " & objPop3Mail.Organization
WScript.Echo " Reply Address : " & objPop3Mail.ReplyAddress
WScript.Echo " Read Receipt Address : " & objPop3Mail.ReadReceiptAddress
WScript.Echo " ToAddress : " & objPop3Mail.ToAddress
WScript.Echo " CcAddress : " & objPop3Mail.CcAddress
WScript.Echo " Priority : " & objPop3Mail.Priority
WScript.Echo " Date : " & objPop3Mail.Date
WScript.Echo " Subject : " & objPop3Mail.Subject
WScript.Echo " BodyType : " & objPop3Mail.BodyType
WScript.Echo " Body : " & Left ( objPop3Mail.Body, InStr ( objPop3Mail.Body, vbCrLf ) )
WScript.Echo " Attachments : " & objPop3Mail.CountAttachments & vbCrLf
numAttachments = objPop3Mail.CountAttachments
For i = 1 to numAttachments ' Iterate over all attachments
WScript.Echo "Attachment Name : " & objPop3Mail.GetAttachmentName(i)
WScript.Echo "Attachment Size : " & objPop3Mail.GetAttachmentSize(i)
' NOTE: attachments can be saved using the 'SaveAttachment' function
Next
End If
Next
objPop3Server.Disconnect ' Disconnect
End If
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" ) ' Create Pop3Server object
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" ) ' Connect to the POP3 server, and login using
' account 'userid', password 'passwd'
If( objPop3Server.LastError = 0 ) Then
numMessages = objPop3Server.CountMessages() ' Count the messages in the mailbox
WScript.Echo numMessages & " new message(s) in mailbox."
For i = 1 to numMessages ' Iterate over all messages in the mailbox
Set objPop3Mail = objPop3Server.GetEmailHeader( i ) ' Get the header of the particular e-mail
If ( objPop3Server.LastError = 0 ) Then
WScript.Echo "MessageID : " & objPop3Mail.ID ' Show header information
WScript.Echo " Size : " & objPop3Mail.Size
WScript.Echo " FromAddress : " & objPop3Mail.FromAddress
WScript.Echo " FromName : " & objPop3Mail.FromName
WScript.Echo " Organization : " & objPop3Mail.Organization
WScript.Echo " Reply Address : " & objPop3Mail.ReplyAddress
WScript.Echo " Read Receipt Address : " & objPop3Mail.ReadReceiptAddress
WScript.Echo " ToAddress : " & objPop3Mail.ToAddress
WScript.Echo " CcAddress : " & objPop3Mail.CcAddress
WScript.Echo " Priority : " & objPop3Mail.Priority
WScript.Echo " Date : " & objPop3Mail.Date
WScript.Echo " Subject : " & objPop3Mail.Subject
WScript.Echo " BodyType : " & objPop3Mail.BodyType
' To retrieve the Body and the Attachments, use 'GetEmailMessage'
End If
Next
objPop3Server.Disconnect ' Disconnect
End If
|
|
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" ) ' Create Pop3Server object
...
WScript.Echo "Version: " & objPop3Server.Version
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" ) ' Create Pop3Server object
...
WScript.Echo "ExpirationDate: " & objPop3Server.ExpirationDate
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" ) ' Create Pop3Server object
...
objPop3Server.LogFile = "c:\smtp.log" ' Specify log file
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" )
If( objPop3Server.LastError = 0 )
...
objPop3Server.Disconnect()
End If
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
...
objPop3Server.HostPort = 8110 ' To specify an alternate port other than 110
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" ) ' Attempt to connect on port 8110
...
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
Set objConstants = CreateObject( "ActiveXperts.EMailConstants" )
...
objPop3Server.Authentication = objConstants.asAUTH_POP3_APOP
objPop3Server.Connect( "pop3.myserver.com", "userid", "passwd" ) ' Connect and authenticate using APOP
...
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
...
objPop3Server.Timeout = 300 ' Use a timeout of 5 minutes
...
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
...
objPop3Server.GetEmailHeader( 1 )
WScript.Echo "Result code: " & objPop3Server.LastError
WScript.Echo "Result description: " & objPop3Server.GetErrorDescription( objPop3Server.LastError )
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" ) ... objPop3Server.GetEmailHeader( 1 ) WScript.Echo "Result code: " & objPop3Server.LastError WScript.Echo "Last POP3 response: " & objPop3Server.LastPop3Response
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
objPop3Server.Activate "xxxxx-xxxxx-xxxxx", True ' Use a valid registration code
' Pass True to make the activation persistent, so you need to call
' Activate only once. If you pass False, you need to call Activate
' each time the product is started.
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" )
WScript.Echo objPop3Server.LastError
objPop3Server.Clear()
WScript.Echo objPop3Server.LastError
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" ) ' Connect to the POP3 server, and login using
' account 'userid', password 'passwd'
If( objPop3Server.LastError = 0 ) Then
numMessages = objPop3Server.CountMessages() ' Count the messages in the mailbox
WScript.Echo numMessages & " new message(s) in mailbox."
objPop3Server.Disconnect ' Disconnect
End If
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" )
If( objPop3Server.LastError = 0 ) Then
...
objPop3.Disconnect ' Disconnect
End If
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" )
WScript.Echo objPop3Server.LastError
If( objPop3Server.IsConnected() Then )
WScript.Echo "Connected!"
Else
WScript.Echo "Not connected"
End If
...
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" )
If( objPop3Server.LastError = 0 ) Then
numMessages = objPop3Server.CountMessages() ' Count the messages in the mailbox
WScript.Echo numMessages & " new message(s) in mailbox."
objPop3Server.Disconnect
End If
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" )
If( objPop3Server.LastError = 0 ) Then
If( objPop3Server.CountMessages() > 0 ) Then
Set objPop3Mail = objPop3Server.GetEmailHeader( 1 ) ' Get header of the e-mail (ID:1)
If ( objPop3Server.LastError = 0 ) Then
WScript.Echo "MessageID : " & objPop3Mail.ID ' Show header information
WScript.Echo " Size : " & objPop3Mail.Size
WScript.Echo " FromAddress : " & objPop3Mail.FromAddress
WScript.Echo " FromName : " & objPop3Mail.FromName
WScript.Echo " Organization : " & objPop3Mail.Organization
WScript.Echo " Reply Address : " & objPop3Mail.ReplyAddress
WScript.Echo " Read Receipt Address : " & objPop3Mail.ReadReceiptAddress
WScript.Echo " ToAddress : " & objPop3Mail.ToAddress
WScript.Echo " CcAddress : " & objPop3Mail.CcAddress
WScript.Echo " Priority : " & objPop3Mail.Priority
WScript.Echo " Date : " & objPop3Mail.Date
WScript.Echo " Subject : " & objPop3Mail.Subject
WScript.Echo " BodyType : " & objPop3Mail.BodyType
End If
objPop3Server.Disconnect
End If
End If
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" )
If( objPop3Server.LastError = 0 ) Then
If( objPop3Server.CountMessages() > 0 ) Then
Set objPop3Mail = objPop3Server.GetEmailHeader( 1 ) ' Get header of the e-mail (ID:1)
If ( objPop3Server.LastError = 0 ) Then
WScript.Echo "MessageID : " & objPop3Mail.ID ' Show e-mail information
WScript.Echo " Size : " & objPop3Mail.Size
WScript.Echo " FromAddress : " & objPop3Mail.FromAddress
WScript.Echo " FromName : " & objPop3Mail.FromName
WScript.Echo " Organization : " & objPop3Mail.Organization
WScript.Echo " Reply Address : " & objPop3Mail.ReplyAddress
WScript.Echo " Read Receipt Address : " & objPop3Mail.ReadReceiptAddress
WScript.Echo " ToAddress : " & objPop3Mail.ToAddress
WScript.Echo " CcAddress : " & objPop3Mail.CcAddress
WScript.Echo " Priority : " & objPop3Mail.Priority
WScript.Echo " Date : " & objPop3Mail.Date
WScript.Echo " Subject : " & objPop3Mail.Subject
WScript.Echo " BodyType : " & objPop3Mail.BodyType
WScript.Echo " Body : " & Left ( objPop3Mail.Body, InStr ( objPop3Mail.Body, vbCrLf ) )
WScript.Echo " Attachments : " & objPop3Mail.CountAttachments & vbCrLf
numAttachments = objPop3Mail.CountAttachments
For i = 1 to numAttachments ' Iterate over all attachments
WScript.Echo "Attachment Name : " & objPop3Mail.GetAttachmentName(i)
WScript.Echo "Attachment Size : " & objPop3Mail.GetAttachmentSize(i)
' NOTE: attachments can be saved using the 'SaveAttachment' function
Next
End If
objPop3Server.Disconnect
End If
End If
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" )
If( objPop3Server.LastError = 0 ) Then
If( objPop3Server.CountMessages() > 0 ) Then
objPop3Server.DeleteMessage( 1 ) ' Delete particular e-mail (Message ID:1)
If ( objPop3Server.LastError = 0 ) Then
WScript.Echo "Message successfully deleted."
Else
WScript.Echo "Message not deleted."
End If
objPop3Server.Disconnect
End If
End If
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" )
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" )
If( objPop3Server.LastError = 0 ) Then
...
objPop3Server.Disconnect
Else
WScript.Echo "Error description: " & objPop3Server.GetErrorDescription( objPop3Server.LastError )
End If
Set objPop3Server = CreateObject( "ActiveXperts.Pop3Server" ) ' Create Pop3Server object
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" ) ' Connect to the POP3 server, and login using
' account 'userid', password 'passwd'
If( objPop3Server.LastError = 0 AND objPop3Server.CountMessages() > 0 ) Then
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
If( objPop3Server.LastError = 0 ) Then
WScript.Echo "MessageID : " & objPop3Mail.ID ' Show e-mail information
WScript.Echo " Size : " & objPop3Mail.Size
WScript.Echo " FromAddress : " & objPop3Mail.FromAddress
WScript.Echo " FromName : " & objPop3Mail.FromName
WScript.Echo " Organization : " & objPop3Mail.Organization
WScript.Echo " Reply Address : " & objPop3Mail.ReplyAddress
WScript.Echo " Read Receipt Address : " & objPop3Mail.ReadReceiptAddress
WScript.Echo " ToAddress : " & objPop3Mail.ToAddress
WScript.Echo " CcAddress : " & objPop3Mail.CcAddress
WScript.Echo " Priority : " & objPop3Mail.Priority
WScript.Echo " Date : " & objPop3Mail.Date
WScript.Echo " Subject : " & objPop3Mail.Subject
WScript.Echo " BodyType : " & objPop3Mail.BodyType
WScript.Echo " Body : " & Left ( objPop3Mail.Body, InStr ( objPop3Mail.Body, vbCrLf ) )
WScript.Echo " Attachments : " & objPop3Mail.CountAttachments & vbCrLf
numAttachments = objPop3Mail.CountAttachments
For i = 1 to numAttachments ' Iterate over all attachments
WScript.Echo "Attachment Name : " & objPop3Mail.GetAttachmentName(i)
WScript.Echo "Attachment Size : " & objPop3Mail.GetAttachmentSize(i)
' NOTE: attachments can be saved using the 'SaveAttachment' function
Next
End If
End If
objPop3Server.Disconnect ' Disconnect
|
|
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "MessageID : " & objPop3Mail.ID ' Show Message ID
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "Size : " & objPop3Mail.Size & " (bytes)" ' Show message size (in bytes)
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "From (e-mail) : " & objPop3Mail.FromAddress ' Show from (e-mail address)
WScript.Echo "From (name) : " & objPop3Mail.FromName ' Show from (friendly name)
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "From (organization) : " & objPop3Mail.Organization ' Show sender's organization name
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "Reply-address : " & objPop3Mail.ReplyAddress ' Show sender's reply address
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "Read receipt : " & objPop3Mail.ReadReceiptAddress ' Show sender's read receipt address
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "To recipient(s) : " & objPop3Mail.ToAddress ' Show recipient's 'To' address(es)
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "CC recipient(s) : " & objPop3Mail.CcAddress ' Show recipient's 'CC' address(es)
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "Date : " & objPop3Mail.Date ' Show Date property
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "Encoding : " & objPop3Mail.Encoding ' Show Encoding property
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "Subject : " & objPop3Mail.Subject ' Show Subject property
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "Priority : " & objPop3Mail.Priority ' Show Priority property
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "BodyType : " & objPop3Mail.BodyType ' Show BodyType property
WScript.Echo "Body (first 100 chars): " & Left( objPop3Mail.Body, 100 ) ' Show first 100 characters of the body
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "Hash : " & objPop3Mail.Hash ' Show Hash property
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "#Attachments" & objPop3Mail.CountAttachments()
objPop3Mail.SaveAttachment( 10, "c:\temp\attach100.bin" ) ' Save 10th attachment.
WScript.Echo "SaveAttachment, result: " & objPop3Mail.LastError
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "Subject : " & objPop3Mail.Subject ' Show Subject property
objPop3Mail.Clear() ' Clear all properties
WScript.Echo "Subject : " & objPop3Mail.Subject ' Will show an empty string
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "#Attachments : " & objPop3Mail.CountAttachments() ' Show the number of attachments
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
For i = 1 To objPop3Mail.CountAttachments()
WScript.Echo "Attachment name: " & objPop3Mail.GetAttachmentName(i) ' Show the name of the attachment
Next
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
For i = 1 To objPop3Mail.CountAttachments()
WScript.Echo "Attachment size: " & objPop3Mail.GetAttachmentSize(i) ' Show the size of the attachment
Next
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
For i = 1 To objPop3Mail.CountAttachments()
strSaveAs = "c:\temp\" & objPop3Mail.GetAttachmentName(i)
objPop3Mail.SaveAttachment( i, strSaveAs )
WScript.Echo "Attachment saved as " & strSaveAs & ", result: " & objPop3Mail.LastError
Next
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
objPop3Mail.SaveMIME( "C:\File.mim" ) ' Save MIME file
WScript.Echo "SaveMIME, result: " & objPop3Mail.LastError ' Show the result
Set objPop3Mail = objPop3Server.GetEmail( 1 ) ' Retrieve the first message (Message ID:1)
...
WScript.Echo "#Attachments" & objPop3Mail.CountAttachments()
objPop3Mail.SaveAttachment( 10, "c:\temp\attach100.bin" ) ' Save 10th attachment.
WScript.Echo "SaveAttachment, result: " & objPop3Mail.LastError & _
" (" & objPop3Mail.GetErrorDescription( objPop3Mail.LastError ) & ")"
| Registry Value | Type | Explanation. |
| LogDir | REG_SZ | Directory where logfiles are stored. Emails are only logged if EnableLogging is set to 1 (default). |
| EnableLogging | REG_DWORD | Logging is enabled if this value is set to 1 (default). Log files are located in the LogDir directory. |
| PickupMailDir | REG_SZ | The 'ActiveEmail Queue Service' can service more than one client. There's one central directory where it can pickup it's e-mails. PickupMailDir points to this directory. |
| KeepFailedMails | REG_DWORD | In case of 0, a failed e-mail will be removed from the PickupMailDir directory. In case of 1, a failed e-mail will be moved from the PickupMailDir directory to the FailedMailDir directory. |
| FailedMailDir | REG_SZ | A failed e-mail will be moved to this directory, but only if KeepFailedMails is 1. |
| KeepSentMails | REG_DWORD | In case of 0, a sent e-mail will be removed from the PickupMailDir directory. In case of 1, a sent e-mail will be moved from the PickupMailDir directory to the SentMailDir directory. |
| SentMailDir | REG_SZ | A sent e-mail will be moved to this directory, but only if KeepSentMails is 1. |
| Website: | http://www.activexperts.com/support |
| Email: | support@activexperts.com |
Set objSmtp = CreateObject( "ActiveXperts.SmtpServer" )
objSmtp.Activate XXXXX-XXXXX-XXXXX", True ' Substitute XXXXX-XXXXX-XXXXX by your own registration code
' Pass True to make the activation persistent, so you need to call Activate
' only once. If you pass False, you need to call Activate each time the
' product is started.
Content-Type: text/plain; charset="iso-8859-1"
The more Content-Types are being supported by your mail-client, the more message types can be read.
Outlook Express does support for example text/html, so that it can handle embedded html.
A content-Type which is NOT being supported by a mail client, will be dealt with by the mail client with a 'Save as'
dialogbox, and as such being saved on disk as an attachment.
The attached application (.EXE) will be sent as 'Content-Type: application/octet-stream'.
PLEASE READ THIS SOFTWARE LICENSE AGREEMENT CAREFULLY BEFORE
DOWNLOADING OR USING THE SOFTWARE. BY CLICKING ON THE
"ACCEPT" BUTTON, OPENING THE PACKAGE, DOWNLOADING THE PRODUCT,
OR USING THE EQUIPMENT THAT CONTAINS THIS PRODUCT, YOU ARE
CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE
TO ALL OF THE TERMS OF THIS AGREEMENT, CLICK THE "DO NOT
ACCEPT" BUTTON AND THE INSTALLATION PROCESS WILL NOT CONTINUE,
RETURN THE PRODUCT TO THE PLACE OF PURCHASE FOR A FULL REFUND,
OR DO NOT DOWNLOAD THE PRODUCT.
GENERAL
In this Software License Agreement:
(i) "ActiveXperts" means ActiveXperts Software B.V.
(ii) "Customer" means the individual(s), organization or business entity
buying a license of the Software from ActiveXperts or its Distributors
or its Resellers.
(iii) "Software" means computer programs (and their storage medium)
supplied by ActiveXperts and known collectively as "ActiveEmail"
in which ActiveXperts has property rights and any user manuals,
operating instructions, brochures and all other documentation relating
to the said computer programs (the expression "Software" to include all
or any part or any combination of Software).
1. LICENSE GRANT
ActiveXperts grants Customer the following rights provided that you
comply with all terms and conditions of this License Agreement:
(a) Installation and use. Customer may install, use, access, display and
run one copy of the Software on a single computer, such as a
workstation, terminal or other device ("Workstation Computer"). A
"License Pack" allows you to install, use, access, display and run
additional copies of the Software up to the number of "Licensed Copies"
specified above.
(b) Reservation of Rights. ActiveXperts reserves all rights not
expressly granted to you in this License Agreement.
2. UPGRADES AND SUPPLEMENTS
To use a product identified as an upgrade, you must first be licensed
for the Software as eligible for the upgrade. After upgrading, Customer
may no longer use the product that formed the basis for Customer's
upgrade eligibility.
This License Agreement applies to updates or supplements to the original
Software provided by ActiveXperts, unless we provide other terms along
with the update or supplement.
3. LIMITATION ON REVERSE ENGINEERING,DECOMPILATION, AND DISASSEMBLY
Customer may not reverse engineer, decompile, or disassemble the
Software, except and only to the extent that it is expressly permitted
by applicable law notwithstanding this limitation.
4. TERMINATION
Without prejudice to any other rights, ActiveXperts may cancel this
License Agreement if Customer does not abide by the terms and conditions
of this License Agreement, in which case you must destroy all copies of
the Software and all of its component parts.
5. NOT FOR RESALE SOFTWARE
Software identified as "Not for Resale" or "NFR," may not be resold,
transferred or used for any purpose other than demonstration, test or
evaluation.
6. LIMITED WARRANTY
ActiveXperts warrants that for a period of ninety (90) days from the
date of shipment from ActiveXperts: (i) the media on which the Software
is furnished will be free of defects in materials and workmanship under
normal use; and (ii) the Software substantially conforms to its
published specifications. Except for the foregoing, the Software is
provided AS IS. This limited warranty extends only to Customer as the
original licensee. Customer's exclusive remedy and the entire liability
of ActiveXperts and its suppliers under this limited warranty will be,
at ActiveXperts or its service center's option, repair, replacement, or
refund of the Software if reported (or, upon request, returned) to the
party supplying the Software to Customer. In no event does ActiveXperts
warrant that the Software is error free or that Customer will be able to
operate the Software without problems or interruptions.
This warranty does not apply if the software (a) has been altered,
except by ActiveXperts, (b) has not been installed, operated, repaired,
or maintained in accordance with instructions supplied by ActiveXperts,
(c) has been subjected to abnormal physical or electrical stress,
misuse, negligence, or accident, or (d) is used in ultrahazardous
activities.
7. LIMITATION OF LIABILITY AND REMEDIES.
Notwithstanding any damages that you might incur for any reason
whatsoever (including, without limitation, all damages referenced above
and all direct or general damages), the entire liability of ActiveXperts
and any of its suppliers under any provision of this License Agreement
and your exclusive remedy for all of the foregoing (except for any
remedy of repair or replacement elected by ActiveXperts with respect to
any breach of the Limited Warranty) shall be limited to the greater of
the amount actually paid by you for the Software or U.S.$5.00. The
foregoing limitations, exclusions and disclaimers (including Sections 4,
5 and 6 above) shall apply to the maximum extent permitted by applicable
law, even if any remedy fails its essential purpose.
8. ENTIRE AGREEMENT
This License Agreement (including any addendum or amendment to this
License Agreements which is included with the Software) are the entire
agreement between you and ActiveXperts relating to the Software and the
support services (if any) and they supersede all prior or
contemporaneous oral or written communications, proposals and
representations with respect to the Software or any other subject matter
covered by this License Agreement. To the extent the terms of any
ActiveXperts policies or programs for support services conflict with the
terms of this License Agreement, the terms of this License Agreement
shall control.
This Agreement shall be construed in accordance with the laws of The
Netherlands and the Dutch courts shall have sole jurisdiction in any
dispute relating to these conditions. If any part of these conditions
shall be or become invalid or unenforceable in any way and to any extent
by any existing or future rule of law, order, statute or regulation
applicable thereto, then the same shall to the extent of such invalidity
or enforceability be deemed to have been deleted from the conditions
which shall remain in full force and effect as regards all other
provisions.
9. Copyright
The Software is protected by copyright and other intellectual property
laws and treaties. ActiveXperts or its suppliers own the title,
copyright, and other intellectual property rights in the Software. The
Software is licensed, not sold.