title: Google is rejecting SMTP access outside of my state
body: <p>Here's the dilemma I'm presented with. I've coded up an APP in xamarin where I'm utilizing google SMTP to send notifications to another gmail account. </p>
  
  <p>I have the code set up like so</p>
  
  <pre><code>using (var client = new SmtpClient())
  {
   client.Connect("smtp.gmail.com", 465, true);    
   client.AuthenticationMechanisms.Remove("XOAUTH2");
   client.Authenticate("gmailUserName", "gmailPassword");
  
   client.Send(message);
  ...
  ...
  </code></pre>
  
  <p>However, when the App is downloaded by others outside of my state, their notifications are being rejected. I've tried downloading the same app on various devices and the emails were sent successfully. Which leads me to conclude that for whatever reason the SMTP access is being rejected if a user is outside of the state. 
  And yes, I do have the 2 step verification turned off. 
  and I am allowing Less Secure Apps to access. </p>
  
  <p>Any feedback will be much appreciated. </p>