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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      57 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      78 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      39 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      101 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      61 views
      0 likes
      Last Post PaulMohn  
      Working...
      X