Gets the SMTP configuration object.
Syntax:
Returns:
Object of type FREDI.ediSmtpCfg if the call is successful; Empty if the call fails.
Example:
oTransport.SetSMTP()
oSmtpCfg = oTransport.GetSmtpCfg
oSmtpCfg.ServerName = "smtp.provider.domain.com"
oSmtpCfg.User = "user"
oSmtpCfg.Password = "userpassword"
oSmtpCfg.AddTo(sAsyncUserInfo)
oSmtpCfg.From = "user@yourdomain.com"
oSmtpCfg.FromDisplay = "FrameworkEDI Interoperability test"
oSmtpCfg.Subject = "Interoperability Test Document"
oSmtpCfg.MessageText = "Please find attached text document"
Samples