A SmtpUser object.
Reference to the user who have connected.
Action
A SmtpActions
enumeration, as described in settings.
You should set it to Allow or
Deny to determine if login is
successful.
Settings
The settings for Action are:
Constant
Value
Description
Deny
0
Deny execution of the
action.
Allow
1
Allow to execute
action.
SilentDeny
2
Silently deny execution of
the action.
SilentAllow
3
Silently allow to execute
action.
Remarks
Connected event is fired so that application (or you)
can prepare some internal buffers or code to receive
message that is to be posted to the server. It's
strictly informational. Unlike some other servers, Smtp
server doesn't require Username/Password
authentication, so there isn't such information
provided here.
If you want, you can use Action
variable to Deny access to the server, for
instance based on IP filter of your own.