USAGE: edit

RESEND to from message 

DESCRIPTION: edit

Relay a message

RESEND is a function value.

ARGUMENTS edit

  • to -- (Type: any)
  • from -- (Type: any)
  • message -- (Type: any)

SOURCE CODE edit

resend: func [
    "Relay a message" 
    to from message /local smtp-port
][
    smtp-port: open [scheme: 'esmtp] 
    insert smtp-port reduce [from reduce [to] message] 
    close smtp-port
]