I need to send an email via SMTP Server (2022)

Job ID: 34708934

Budget: $10 – $30 USD

Hi,
since it's not allowed to send an email using only username/pw While sending Email via Gmail SMTP Server!
What is the solution ? i need c# code