Kitura / Swift-SMTP

Swift SMTP client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could you provide an example with TSL or SSL?

diuming opened this issue · comments

I'm testing Swift-SMTP with Gmail in two situations. (less secure app access is on and off)

Swift-SMTP version: 5.1.0

  • 1)less secure app access is on
    The Swift-SMTP works very well
  • 2)less secure app access is off
    The Swift-SMTP will cause an issue, please refer to following

So, could you provide an example for situation 2

issue with gmail (when less secure app access is off)

Bad response received for command. command: (ZXdvdGRnYWJEVw==), response: 534-5.7.9 Application-specific password required.

I don't think it is possible for it to work with less secure app access turned off.