wodSmtpServer ActiveX Control - MailFrom Property
      
 

Description

Holds name of sender.


Property type

A String value.  


Syntax

object.MailFrom [= value]



The MailFrom Property syntax has these parts:

Part Description
object An expression evaluating to an object of type SmtpMessage.
value A String value.

Remarks

As SMTP protocol specifies, when email message is posted to Smtp server, client must specify sender of the message. For that reason he must issue "MAIL FROM:" command. When this happens, wodSmtpServer will fire MailFrom event informing application about sender. You can specify if you will allow to receive email messages from such user, or just deny action.

After event is finished, and during client's posting, this property will hold email address that client specified.