SMTP

Inclusion code:

Service Deployment
Port NameLocationProtocolInterfaces
SMTP documentation:
SMTP--SMTPInterface

List of Available Interfaces

SMTPInterface

Interface documentation:

Operation NameInput TypeOutput TypeFaults
sendMailSendMailRequestvoidSMTPFault( undefined )

Operation Description

sendMail

Operation documentation:

Invocation template:

sendMail@SMTP( request )( response )

Request type

Type: SendMailRequest

type SendMailRequest: void {
    .cc*: string
    .authenticate?: void {
        .password: string
        .username: string
    }
    .bcc*: string
    .attachment*: void {
        .filename: string
        .contentType: string
        .content: raw
    }
    .subject: string
    .host: string
    .replyTo*: string
    .from: string
    .to[1,2147483647]: string
    .contentType?: string
    .content: string
}

SendMailRequest : void

  • cc : string
  • authenticate : void
    • password : string
    • username : string
  • bcc : string
  • attachment : void
    • filename : string
    • contentType : string
    • content : raw
  • subject : string
  • host : string
  • replyTo : string
  • from : string
  • to : string
  • contentType : string
  • content : string

Response type

Type: void

void : void

Possible faults thrown

Fault SMTPFault with type undefined

Fault-handling install template:

install ( SMTPFault => /* error-handling code */ )