title: sending email with Indy to a gmail address message goes to spam
body: <p>Hello I'm trying to send a message from delphi (indy) to a gmail address. When I go to Gmail I found my message in spam folder. If I try to send the same message with PHPMailer from web it works correctly. This is the code.</p>
  
  <p>Thanks</p>
  
  <pre><code>//setup SMTP
  SMTP.Port := 25;
  SMTP.ConnectTimeout := 1000;
  SMTP.Host := 'smtp.xxxxxx.it';
  SMTP.Username := 'info@xxxxxx.it';
  SMTP.Password := 'xxxxxx';
  SMTP.Connect();
  
  if SMTP.Authenticate then
  begin
      //setup mail message
      MailMessage.From.Name := 'xxxxxx';
      MailMessage.From.Address := 'info@xxxxxx.it';
      MailMessage.Recipients.EMailAddresses := 'xxxxxx@gmail.com';
  
      MailMessage.Subject := ledSubject.Text;
      MailMessage.ContentType := 'multipart/mixed';
      htmpart := TIdText.Create(MailMessage.MessageParts, nil);
      htmpart.Body := Body.Lines;
      htmpart.ContentType := 'text/html';
  
      //send mail
      try
          try
              SMTP.Send(MailMessage);
          except on E:Exception do
              StatusMemo.Lines.Insert(0, 'ERROR: ' + E.Message);
          end;
      finally
          if SMTP.Connected then SMTP.Disconnect;
      end;
  end;
  </code></pre>