tail -f ilr_inv_nnj/storage/logs/invoiceninja.log
[2023-08-25 16:32:29] production.INFO: latest version = 5.7.3
[2023-08-25 16:32:44] production.INFO: Trying to send to *REDUCTED* 2023-08-25 16:32:44
[2023-08-25 16:32:44] production.INFO: Using mailer => smtp
[2023-08-25 16:32:45] production.INFO: Mailer failed with Failed to authenticate on SMTP server with username "*REDUCTED*" using the following authenticators: "LOGIN", "PLAIN", "XOAUTH2". Authenticator "LOGIN" returned "Expected response code "235" but got code "534", with message "534-5.7.9 Application-specific password required. Learn more at
534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor p67-20020a257446000000b00d212ecd98f5sm102810ybc.21 - gsmtp".". Authenticator "PLAIN" returned "Expected response code "235" but got code "534", with message
Also of note. When configuring the SMTP relay settings in your google admin panel, if you limit by IP address make sure to add both IPv4 and IPv6. I’m on Linode and it was actually using the v6 address which I initially did not add.
Verify peer is an SMTP setting which enables “the process of matching names that are specified in the TLS profile against names that are defined in the peer’s certificate”.
Note: the from address is missing in the Flutter app but is available in the React app, it will be included with the next release of the Flutter app.