Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Attach txt files to mail

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Attach txt files to mail

    Hi, i would to know if it possible to attach a local txt file when i call the method SHARE of Ninjacript to send an email. How can i do that?

    Thanks

    #2
    Hello Davide999,

    You would have to include the text as the message when using the built in share service. To attach a file would require writing your own share service however I am unsure if the core functionality of the email service built into the platform could handle that. You may need to write your own C# email client as a share service to support a file being sent.

    Comment


      #3
      Hi,
      THANK YOU!! I resolved putting the file into the text of the mail maintaining the formatting of the txt file with the method "ReadAllText" of C#.

      Best regards

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      637 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      366 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      107 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      569 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      572 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X