wodSmtpServer ActiveX Control - Relays Property
      
 

Description

Holds collection of all messages that need to be relayed.


Property type

A SmtpRelays object.  


Syntax

object.Relays



The Relays Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodSmtpServer.

Remarks

Relays is a read-only property is a reference to collection of all messages currently (or waiting to) being relayed.

To add new message to be relayed, all you need to do something like this:

wodSmtpServer1.Relays.Add User.Message

although, you could also interfere with the relaying process by changing directly items in SmtpRelay object, such as Hostname, MailFrom etc...