github.com/kubevela/workflow@v0.6.0/pkg/stdlib/actions/v1/pkgs/email.cue (about)

     1  #Send: {
     2  	#do:       "send"
     3  	#provider: "email"
     4  
     5  	// +usage=The info of the sender
     6  	from: {
     7  		// +usage=The address of the sender
     8  		address: string
     9  		// +usage=The alias of the sender
    10  		alias?: string
    11  		// +usage=The password of the sender
    12  		password: string
    13  		// +usage=The host of the sender server
    14  		host: string
    15  		// +usage=The port of the sender server
    16  		port: int
    17  	}
    18  	// +usgae=The email address list of the recievers
    19  	to: [...string]
    20  	// +usage=The content of the email
    21  	content: {
    22  		// +usage=The subject of the email
    23  		subject: string
    24  		// +usage=The body of the email
    25  		body: string
    26  	}
    27  	stepID: context.stepSessionID
    28  	...
    29  }