Skip to Content

SMTP

SMTPSource is used to send emails via SMTP using SendEmail operation.

In an application, right-click on Sources -> select Create source -> type any Source name and select SMTPSource in the Source type field -> click Create.

  • host - host
  • port - port
  • username - username
  • password - user’s password
  • properties - custom properties in the JSON-object format. The SMTPSource implementation is based on JavaMail library . You can specify properties supported by the library , for example, {"mail.smtp.auth":"true", "mail.smtp.starttls.enable":"true"}. We always specify the following properties that can be overwrite by your customer properties:
    • mail.smtp.host - host from the host field
    • mail.smtp.port - port from the port field

Example 1: Configuration for Google Workspaces account

Here is configuration we tested with Google Workspaces account. It should work for a personal GMail account as well.

  • host: smtp.gmail.com
  • port: 587
  • username: <your email that you use as username>
  • password: <your password>
  • properties: {"mail.smtp.auth":"true", "mail.smtp.starttls.enable":"true"}
Last updated on