Send One E-mail
Operation name
Send One E-mail
Function overview
Sends an email to Gmail SMTP server.
Operation environment
Google Workspace (formerly known as G Suite Basic)
Properties
For details on use of variables, refer to Variables.
Basic settings
| 
                                                                     Item name  | 
                                                                
                                                                     Required/Optional  | 
                                                                
                                                                     Use of variables  | 
                                                                
                                                                     Description  | 
                                                                
                                                                     Remarks  | 
                                                            
|---|---|---|---|---|
| 
                                                                     Name  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Not available  | 
                                                                
                                                                     Enter a name to use on the script canvas.  | 
                                                                
                                                                     
  | 
                                                            
Required settings
| 
                                                                     Item name  | 
                                                                
                                                                     Required/Optional  | 
                                                                
                                                                     Use of variables  | 
                                                                
                                                                     Description  | 
                                                                
                                                                     Remarks  | 
                                                            
|---|---|---|---|---|
| 
                                                                     Connection  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Not available  | 
                                                                
                                                                     Select a connection resource. 
  | 
                                                                
                                                                     
  | 
                                                            
| 
                                                                     From  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Enter the email address of the sender.  | 
                                                                
                                                                    
  | 
                                                            
| 
                                                                     To/Cc/Bcc  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     -  | 
                                                                
                                                                     Enter the email address of the destination. Each row can be operated with the following buttons: 
  | 
                                                                
                                                                     
  | 
                                                            
| 
                                                                     To/Cc/Bcc / Category  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Select the type of destination. 
  | 
                                                                
                                                                     
  | 
                                                            
| 
                                                                     To/Cc/Bcc / Mail Address  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Enter the email address.  | 
                                                                
                                                                     
  | 
                                                            
Authentication
| 
                                                                     Item name  | 
                                                                
                                                                     Required/Optional  | 
                                                                
                                                                     Use of variables  | 
                                                                
                                                                     Description  | 
                                                                
                                                                     Remarks  | 
                                                            
|---|---|---|---|---|
| 
                                                                     Authentication mode  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Not available  | 
                                                                
                                                                     Select the authentication mode when sending an email. 
  | 
                                                                |
| 
                                                                     User name  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Enter a user name to perform SMTP authentication or a user name to perform OAuth 2.0 authentication.  | 
                                                                
                                                                    
  | 
                                                            
| 
                                                                     Password  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Enter a password for SMTP authentication.  | 
                                                                
                                                                    
  | 
                                                            
| 
                                                                     Authentication (Gmail OAuth 2.0)  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Not available  | 
                                                                
                                                                     Select a connection resource to use for authentication. 
  | 
                                                                
                                                                    
  | 
                                                            
Property actions
| 
                                                                         Item name  | 
                                                                    
                                                                         Description  | 
                                                                    
                                                                         Remarks  | 
                                                                
|---|---|---|
| 
                                                                         Authentication test  | 
                                                                    
                                                                         Perform an authentication test by using the selected Authentication mode.  | 
                                                                    
                                                                        
  | 
                                                                
Message
| 
                                                                     Item name  | 
                                                                
                                                                     Required/Optional  | 
                                                                
                                                                     Use of variables  | 
                                                                
                                                                     Description  | 
                                                                
                                                                     Remarks  | 
                                                            
|---|---|---|---|---|
| 
                                                                     Subject  | 
                                                                
                                                                     Optional  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Enter the subject.  | 
                                                                
                                                                     
  | 
                                                            
| 
                                                                     Message  | 
                                                                
                                                                     Optional  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Enter the text.  | 
                                                                
                                                                     
  | 
                                                            
| 
                                                                     Content-Type  | 
                                                                
                                                                     Optional  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Select or enter the Content-Type. 
  | 
                                                                
                                                                    
  | 
                                                            
| 
                                                                     Encoding  | 
                                                                
                                                                     Optional  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Select or enter type of encoding when sending an email. 
 When you enter encoding, specify one of the encodings supported in Java SE Runtime Environment 8. = Remarks =
                                                                         
                                                                For details, refer to "Supported Encodings" (http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html).  | 
                                                                
                                                                    
  | 
                                                            
Attachments
| 
                                                                     Item name  | 
                                                                
                                                                     Required/Optional  | 
                                                                
                                                                     Use of variables  | 
                                                                
                                                                     Description  | 
                                                                
                                                                     Remarks  | 
                                                            
|---|---|---|---|---|
| 
                                                                     Attachments  | 
                                                                
                                                                     Optional  | 
                                                                
                                                                     -  | 
                                                                
                                                                     Specify attachment file paths. Each row can be operated with the following buttons: 
  | 
                                                                
                                                                     
  | 
                                                            
| 
                                                                     Attachments/File path  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Enter the attachment file path.  | 
                                                                
                                                                     Note
                                                                         
                                                                
  | 
                                                            
Reply
| 
                                                                     Item name  | 
                                                                
                                                                     Required/Optional  | 
                                                                
                                                                     Use of variables  | 
                                                                
                                                                     Description  | 
                                                                
                                                                     Remarks  | 
                                                            
|---|---|---|---|---|
| 
                                                                     Reply-To  | 
                                                                
                                                                     Optional  | 
                                                                
                                                                     -  | 
                                                                
                                                                     Specify the destination email address of a reply. Each row can be operated with the following buttons: 
  | 
                                                                
                                                                     
  | 
                                                            
| 
                                                                     Reply-To/Mail address  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Enter the email address.  | 
                                                                
                                                                     
  | 
                                                            
| 
                                                                     Item name  | 
                                                                
                                                                     Required/Optional  | 
                                                                
                                                                     Use of variables  | 
                                                                
                                                                     Description  | 
                                                                
                                                                     Remarks  | 
                                                            
|---|---|---|---|---|
| 
                                                                     Header list  | 
                                                                
                                                                     Optional  | 
                                                                
                                                                     -  | 
                                                                
                                                                     Specify a header to give when sending an email.  | 
                                                                
                                                                     
  | 
                                                            
| 
                                                                     Header list/Header  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Enter the key header to give when sending an email.  | 
                                                                
                                                                    
  | 
                                                            
| 
                                                                     Header list/Value  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Available  | 
                                                                
                                                                     Enter the header value to give when sending an email.  | 
                                                                
                                                                    
  | 
                                                            
Comment
| 
                                                                     Item name  | 
                                                                
                                                                     Required/Optional  | 
                                                                
                                                                     Use of variables  | 
                                                                
                                                                     Description  | 
                                                                
                                                                     Remarks  | 
                                                            
|---|---|---|---|---|
| 
                                                                     Comment  | 
                                                                
                                                                     Optional  | 
                                                                
                                                                     Not available  | 
                                                                
                                                                     You can write a short description of this connector.  | 
                                                                
                                                                     
  | 
                                                            
Schemas
Input schema
None.
Output schema
None.
Transaction
Transaction isn't supported.
Parallel Stream Processing
PSP isn't supported.
Available component variables
| 
                                                                 Component variable name  | 
                                                            
                                                                 Description  | 
                                                            
                                                                 Remarks  | 
                                                        
|---|---|---|
| 
                                                                 count  | 
                                                            
                                                                 The number of sent emails is stored.  | 
                                                            
                                                                
  | 
                                                        
| 
                                                                 message_category  | 
                                                            
                                                                 When an error occurs, the category of the message code corresponding to the error is stored.  | 
                                                            
                                                                
  | 
                                                        
| 
                                                                 message_code  | 
                                                            
                                                                 When an error occurs, the code of the message code corresponding to the error is stored.  | 
                                                            
                                                                
  | 
                                                        
| 
                                                                 message_level  | 
                                                            
                                                                 When an error occurs, the severity of the message code corresponding to the error is stored.  | 
                                                            
                                                                
  | 
                                                        
| 
                                                                 error_type  | 
                                                            
                                                                 When an error occurs, the error type is stored.  | 
                                                            
                                                                
  | 
                                                        
| 
                                                                 error_message  | 
                                                            
                                                                 When an error occurs, the error message is stored.  | 
                                                            
                                                                
  | 
                                                        
| 
                                                                 error_trace  | 
                                                            
                                                                 When an error occurs, the trace information for the error is stored.  | 
                                                            
                                                                
  | 
                                                        
Text encoding methods for attached files
UTF-8 encoding is set for the charset parameter of Content-Type. It can't be changed.
Message codes, exception messages, and limitations
| 
                                                                 Connector  | 
                                                            
                                                                 Message code  | 
                                                            
                                                                 Exception message  | 
                                                            
                                                                 Limitations  | 
                                                        
|---|---|---|---|
- 
                                                        
SSL is used in communication between Gmail SMTP server and this connector.
 
 >