0

In the sent e-mail I would like to attach a code fragment in JS to be copied by the recipient?

It should be plain text to be copied only.

There is simply no such possibility. The question is, is it possible to do it some other way?

DevNet
  • 57
  • 6
  • Yes. Plain text or Zip it.... – mplungjan Oct 11 '21 at 09:07
  • 1
    *"There is simply no such possibility."* JavaScript code is text, emails are text. You can just copy and paste the code into your email. – Felix Kling Oct 11 '21 at 09:09
  • @FelixKling I send the e-mail via `MailKit` from the application and when I add it as text, it cuts this whole part out for me. I added in `
    ` and `` but it doesn't change anything.
    – DevNet Oct 11 '21 at 09:11
  • 1
    What is MailKit? Perhaps you should add the code you're using to send the email then instead of talking about theoreticals about whether something is possible. – AKX Oct 11 '21 at 09:14

0 Answers0