title: sending an email from c# using aws is adding caution-https to the link
body: <p>I have a web forms application. and all the emails are working fine except for 1.  one of them is adding a caution-https to the link and I don't know why.</p>
  <p>I am sending an email from a c# webforms application</p>
  <pre><code>   String FROM = &quot;noreply@somedomain.edu&quot;;
          String FROMNAME = &quot;Webmaster&quot;;
          MailMessage message = new MailMessage();
          message.From = new MailAddress(FROM, FROMNAME);
          foreach (var item in adminEmails)
          {
              message.To.Add(new MailAddress(item));
          }
          message.Subject = (&quot;A new paper has been added for the Landpower Symposium 2022&quot;);
          message.IsBodyHtml = true;
          message.BodyEncoding = Encoding.UTF8;
          message.Attachments.Add(new Attachment(newStream, filename));
          message.Body = &quot;&lt;p&gt; A new paper has been attached for your review. &lt;/p&gt; &quot;
                        + &quot; &lt;p&gt;title :&quot; + title + &quot;&lt;/p&gt; &quot;
                        + &quot; &lt;p&gt; filename :&quot; + filename + &quot;&lt;/p&gt;&quot;
                         + &quot;&lt;p&gt; Posted by: &quot; + firstName + &quot; &quot; + lastName + &quot; &lt;a href='mailto:&quot; + email + &quot;'&gt;&quot; + email + &quot;&lt;/a&gt; &quot; + phone + &quot;&lt;/p&gt;&quot;
                         + &quot;&lt;p&gt; After reviewing, you may approve or reject this paper by clicking &quot;
                         + &quot;&lt;a href = '&quot; + getBaseUrl() + &quot;/landpower/login.aspx?Page=AdminApprovePapers.aspx&amp;FileId=&quot; + fileid.ToString() + &quot;'&gt; here &lt;/a&gt;&quot;;
  ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
                  // try to send an AWS email
                  // Amazon SES SMTP user name.
                  String SMTP_USERNAME = &quot;***************&quot;;
                  // Amazon SES SMTP password.
                  String SMTP_PASSWORD = &quot;*************************&quot;;
                  String HOST = &quot;email-smtp.us-east-1.amazonaws.com&quot;;
                  int PORT = 587;
                  using (SmtpClient client = new SmtpClient(HOST, PORT))
                  {
                      client.Credentials = new NetworkCredential(SMTP_USERNAME, SMTP_PASSWORD);
                      client.EnableSsl = true;
                      System.Diagnostics.Debug.WriteLine(&quot;Attempting to send email...&quot;);
                      client.Send(message);
                      System.Diagnostics.Debug.WriteLine(&quot;Email sent!&quot;);
                  }
  </code></pre>
  <p>(I changed the actual site to somedomain)</p>
  <p>when the message is received in outlook the link is
  caution-https://somedomain.edu/landpower/login.aspx?Page=AdminApprovePapers.aspx&amp;FileId=6</p>
  <p>does anyone have any idea what is causing that? I am sending other emails from the application and everything works fine.</p>