ImapSmtp is a library for sending, reading, and deleting emails. ImapSmtp is interfacing with SMTP and IMAP protocols.
*About criteria argument*
Various keywords like List Messages and Move Messages have keyword argument called criterion which can be used to filter emails according to given criteria.
Syntax needs to according to specification and more information about that can be read from https://robocorp.com/docs/development-guide/email/sending-emails-with-gmail-smtp#listing-email-messages-by-criteria
- Authentication error with GMail - "Application-specific password required"
- More secure apps (XOAUTH2 protocol) - Use the OAuth2 flow as in this Portal robot:
Make sure to specify a provider (and optionally a tenant) when importing the library and planning to use this flow.
It is highly recommended to secure your passwords and take care that they are not stored in version control by mistake. See RPA.Robocorp.Vault to see how to store secrets in Robocorp Vault.
When sending HTML content with IMG tags, the src filenames must match the base image name given with the images parameter.
Initialize self. See help(type(self)) for accurate signature.