From: newsletter-bounce-53421859-96ddf794e0a60cf2@nls.element5.com on behalf of info@emailarchitect.net
Sent: 4. marts 2005 22:37
To: swr@seqtools.dk
Subject: Important Notice to ANSMTP User

Important Notice: 
(This article is for ANSMTP user using ANSMTP version 6.3 or earlier version)


Recently, we got complaints from users that some Anti-Virus / Anti-Spy software is removing ANSMTP.dll or blocking ANSMTP object creation in their applications. After investigation we found that a spyware named "keylogger" is using an unregistered ANSMTP.dll as its module. Although all Anti-Virus or Anti-Spy software recognize ANSMTP.dll as a clean SMTP library, some of them remove or block ANSMTP for security reason.

As to help ANSMTP users maintain services and make sure ANSMTP can work on every machine, ANSMTP version 6.4 is released. In this version, all object names, CLSIDs and runtime library file name are changed as follow:  

Changed Items
Type Original Name New Name
Runtime File Name ANSMTP.dll AOSMTP.dll
.NET Assembly ANSMTPLib.dll AOSMTPLib.dll
C++ Header Files ANSMTP.IDL
ANSMTP.H
ANSMTP_i.c
ANSMTP.tlh
ANSMTP.tli
ANSMTP.tlb
AOSMTP.IDL
AOSMTP.H
AOSMTP_i.c
AOSMTP.tlh
AOSMTP.tli
AOSMTP.tlb
Namespace ANSMTPLib AOSMTPLib
Interface IOBJ IMail
Interface IMassSender IFastSender
Event Interface _IEventThreadObjEvents _IMailEvents
Event Interface _IMassSenderEvents _IFastSenderEvents
ProgId ANSMTP.OBJ AOSMTP.Mail
ProgId ANSMTP.MassSender AOSMTP.FastSender
CLSID & IID CLSID_OBJ
IID_IOBJ
CLSID_Mail
IID_IMail
CLSID & IID CLSID_MassSender
IID_IMassSender
CLSID_FastSender
IID_IFastSender
DIID __uuidof(_IEventThreadObjEvents)
__uuidof(_IMassSenderEvents)
__uuidof(_IMailEvents)
__uuidof(_IFastSenderEvents)
Visual Baisc Object Name ANSMTPLib.OBJ AOSMTPLib.Mail
Visual Baisc Object Name ANSMTPLib.MassSender AOSMTPLib.FastSender
.NET Class Name ANSMTPLib.OBJClass AOSMTPLib.MailClass
.NET Class Name ANSMTPLib.MassSenderClass AOSMTPLib.FastSenderClass
Delphi Object Name TOBJ TMail
Delphi Object Name TMassSender TFastSender
C++ SmartPointer IOBJPtr IMailPtr
C++ SmartPointer IMassSenderPtr IFastSenderPtr

Migration procedures:


[Visual Basic]
1. Remove "ANSMTP COMPONENT BUILD" reference from your project.
2. Add "AOSMTP COMPONENT BUILD" reference to your project.

Replace all object names and namespace based on above table.
	
For example:
Original Code New Code
'early binding
Dim oSmtp As ANSMTPLib.OBJ
Dim oMassSender As ANSMTPLib.MassSender
Set oSmtp = New ANSMTPLib.OBJ
Set oMassSender = New ANSMTPLib.MassSender

'late binding
Dim oSmtp, oMassSender
Set oSmtp = CreateObject("ANSMTP.OBJ")
Set oMassSender = CreateObject("ANSMTP.MassSender")
'early binding
Dim oSmtp As AOSMTPLib.Mail
Dim oMassSender As AOSMTPLib.FastSender
Set oSmtp = New AOSMTPLib.Mail
Set oMassSender = New AOSMTPLib.FastSender

'late binding
Dim oSmtp, oMassSender
Set oSmtp = CreateObject("AOSMTP.Mail")
Set oMassSender = CreateObject("AOSMTP.FastSender")

[.NET Application]
1. Remove ANSMTP COMPONENT BUILD reference from your project.
2. Add "AOSMTP COMPONENT BUILD" reference to your project.

Replace all object names and namespace based on above table.
	
For example:
Original Code New Code
Imports ANSMTPLib
Dim oSmtp As New ANSMTPLib.OBJClass()
Dim oMassSender As New ANSMTPLib.MassSenderClass()

using ANSMTPLib;
OBJClass oSmtp = new OBJClass()
MassSenderClass oMassSender = new MassSenderClass()

_IEventThreadObjEvents_OnClosedEventHandler OnClosedEventHandler =
new _IEventThreadObjEvents_OnClosedEventHandler( OnClosed );
oSmtp.OnClosed += OnClosedEventHandler;
Imports AOSMTPLib
Dim oSmtp As New AOSMTPLib.MailClass()
Dim oMassSender As New AOSMTPLib.FastSenderClass()

using AOSMTPLib;
MailClass oSmtp = new MailClass()
FastSenderClass oMassSender = new FastSenderClass()

_IMailEvents_OnClosedEventHandler OnClosedEventHandler =
new _IMailEvents_OnClosedEventHandler( OnClosed );
oSmtp.OnClosed += OnClosedEventHandler;

[Visual C++]
1. Remove old header files from your project.
2. Include new header files to your project.

Replace all object names and namespace based on above table.
	
For example:
Original Code New Code
#import "C:\Program Files\AdminSystem.NET\ANSMTP\ANSMTP.dll" \
rename_namespace("ANSMTPLib")
using namespace ANSMTPLib;

IOBJPtr oSmtp;
oSmtp.CreateInstance("ANSMTP.OBJ");
IMassSenderPtr oMassSender;
oMassSender.CreateInstance("ANSMTP.MassSender");
#import "C:\Program Files\AdminSystem.NET\ANSMTP\AOSMTP.dll" \
rename_namespace("AOSMTPLib")
using namespace AOSMTPLib;

IMailPtr oSmtp;
oSmtp.CreateInstance("AOSMTP.Mail");
IFastSenderPtr oMassSender;
oMassSender.CreateInstance("AOSMTP.FastSender");

[ASP/Script]
Replace all "ANSMTP.OBJ" to "AOSMTP.Mail"
Replace all "ANSMTP.MassSender" to "AOSMTP.MassSender"
	

[Delphi]
1. Remove ANSMTP COMPONENT BUILD reference from your project.
2. Import "AOSMTP COMPONENT BUILD" library to your project.

Replace all "ANSMTPLib_TLB" to "AOSMTPLib_TLB"
Replace all "TOBJ" to "TMail"
Replace all "TMassSender" to "TFastSender"
	

[Installation/Deployment]
Please access http://www.emailarchitect.net/webapp/smtpcom/developers/installation.asp for detail.

If you have any problem on the migration, please contact support@emailarchitect.net. You can also refer to the samples in ANSMTP 6.4 or visit developer center.


2001-2005 Copyright AdminSystem Software Limited. All rights reserved.


This mail has been sent by share-it! (http://www.shareit.com) on behalf of ADMINSYSTEM SOFTWARE LIMITED.

If you do not wish to receive any additional newsletters from ADMINSYSTEM SOFTWARE LIMITED, please click on the following link to unsubscribe.

http://esd.element5.com/u.html?p=21197&m=swr@seqtools.dk&f=0&c=2732263&l=1