NOTE: This method is called only if you
implemented
IwodSmtpNotify
interface in your application, and
wodSmtpServer1.Notification
property has received reference to
instance of your implementation.
SMTP protocol specification says that before message is
posted to the server, client should provide information
about sender and recipient (among others) of the message,
so that server can decide if it will accept the message or
not. For this purpose, when client connects to server, he
will issue 'MAIL FROM' command following his email
or account name information. This isn't necessarily the
same email address or name as provided by 'FROM:'
header later in the message, so please don't try to
look for it there later on.
When you receive this notification method, you should
decide if your server will accept the message or not. For
example, if you want to set up sort of Spam filter, you can
just ignore emails received from certain email addresses,
or even from certain computers on Internet. You can do this
by evaluating contents of Address variable, and set
Action = Allow to allow
client to continue posting message, or Action = Deny to deny posting. Client
will receive an error in that case.
Later, you can access address entered here using
MailFrom
property.