Framework EDI Reference. Methods and Properties
ediTransport. SetSMTP

Enables the ability to send a file using SMTP method (email).

Syntax:

Returns

Returns 1 if the operation is successful; otherwise the operation returns zero.

Example

Set oTransports = oAck.Get997Transport
Set oTransport = oTransports.CreateTransport
oTransport.SetSMTP
oTransport.Address = "name@domain.com"
oTransport.DisplayName = "Your name"
oTransport.Message = "Please see EDI file"
oTransport.Subject = "EDI file"
oTransports.Send

Samples