Invalid Credentials: Unable to receive or send email with basic authentication in FME

Liz Sanderson
Liz Sanderson
  • Updated


FME Server supports the IMAP email protocol in Automations (and Notifications), and when configured, FME Server can monitor an external mail server for incoming emails. 

FME Server and  FME Desktop support the SMTP email protocol in Automations (and Notifications) and the Emailer transformer respectively, and when configured, FME can send emails from this account.

For enhanced security, some email service providers are announcing that third-party applications will no longer be able to sign in using basic username and password credentials for the IMAP and/or the SMTP protocols. These changes will impact any version of FME, and if you are using basic authentication in any existing workflows, you’ll encounter an invalid credentials error. To resolve this issue you’ll need to update your workflow based on the email providers recommendations:


As of May 30, 2022, ​​Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password [More information].

To receive/send emails from a Gmail inbox/Google account using FME, the password should be updated to use an app password.  


As of October 1, 2022, basic authentication will be disabled for the IMAP protocol. Tenants will be allowed to re-enable a protocol once between October 1, 2022, and December 31, 2022 [More Information]. SMTP authentication will still be available but if not already in use will be disabled by default. 

Support was added for modern authentication in the Emailer transformer for package version 3.2.0 and is available for download from FME Hub

The FME Server Automations/Notifications IMAP and SMTP protocol as well as System Email configurations support the modern authentication method for 2022.2 and newer. 

A patch containing this enhancement has been created for FME Server 2022.1 b22576+. Should you require this patch, please contact Safe Software Support

Note: This patch is not applicable to all versions due to library dependencies. If you are using an older version of FME Server, you will need to upgrade FME Server in order to continue using the IMAP protocol. 


Was this article helpful?



Please sign in to leave a comment.