Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Sending Email with attachment

Sending Email with attachment

Scheduled Pinned Locked Moved ASP.NET
csharphelpquestion
13 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D DKalepu

    Hi All, Is there any possible way to create an email attachments from an URL in C# application? I'm using frame work 2.0, System.Net.Mail component. If I attach a file from my file system, that works fine. But I have to call a http:// url which retruns a file name. I have to attach that file to the email. Can any one help me with this? Thanks in Advance.

    S Offline
    S Offline
    Sylvester george
    wrote on last edited by
    #2

    Do it internally. Try to download it on the server. Then try to attach.

    Regards, Sylvester G sylvester_g_m@yahoo.com

    D 1 Reply Last reply
    0
    • D DKalepu

      Hi All, Is there any possible way to create an email attachments from an URL in C# application? I'm using frame work 2.0, System.Net.Mail component. If I attach a file from my file system, that works fine. But I have to call a http:// url which retruns a file name. I have to attach that file to the email. Can any one help me with this? Thanks in Advance.

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #3

      DKalepu wrote:

      call a http:// url which retruns a file name.

      If url is returning file names, then why you need to attach it. Just send the file link on mail.

      Navaneeth My Website

      S V 2 Replies Last reply
      0
      • S Sylvester george

        Do it internally. Try to download it on the server. Then try to attach.

        Regards, Sylvester G sylvester_g_m@yahoo.com

        D Offline
        D Offline
        DKalepu
        wrote on last edited by
        #4

        sylvester george wrote:

        Do it internally. Try to download it on the server. Then try to attach.

        Could you please tell me how to do that in more detail? Thanks.

        1 Reply Last reply
        0
        • N N a v a n e e t h

          DKalepu wrote:

          call a http:// url which retruns a file name.

          If url is returning file names, then why you need to attach it. Just send the file link on mail.

          Navaneeth My Website

          S Offline
          S Offline
          Sylvester george
          wrote on last edited by
          #5

          Smart answer..Really I like it:)

          Regards, Sylvester G sylvester_g_m@yahoo.com

          N _ 2 Replies Last reply
          0
          • S Sylvester george

            Smart answer..Really I like it:)

            Regards, Sylvester G sylvester_g_m@yahoo.com

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #6

            Thanks :)

            Navaneeth My Website

            1 Reply Last reply
            0
            • S Sylvester george

              Smart answer..Really I like it:)

              Regards, Sylvester G sylvester_g_m@yahoo.com

              _ Offline
              _ Offline
              _AK_
              wrote on last edited by
              #7

              And what happened to your name.. ;)

              Apurva Kaushal

              S 1 Reply Last reply
              0
              • _ _AK_

                And what happened to your name.. ;)

                Apurva Kaushal

                S Offline
                S Offline
                Sylvester george
                wrote on last edited by
                #8

                trying U to look at me:):):)

                Regards, Sylvester G sylvester_g_m@yahoo.com

                _ 1 Reply Last reply
                0
                • S Sylvester george

                  trying U to look at me:):):)

                  Regards, Sylvester G sylvester_g_m@yahoo.com

                  _ Offline
                  _ Offline
                  _AK_
                  wrote on last edited by
                  #9

                  Already seen by lot.... it is disturbing the complete page. Better to get back to the normal... :)

                  Apurva Kaushal

                  K 1 Reply Last reply
                  0
                  • _ _AK_

                    Already seen by lot.... it is disturbing the complete page. Better to get back to the normal... :)

                    Apurva Kaushal

                    K Offline
                    K Offline
                    koolprasad2003
                    wrote on last edited by
                    #10

                    Apurva, i think his name is attack by virus...so let pray for him.. get well soon MAMU... regards, koolprasad2003:) Be a good listener...Because Opprtunity knoughts softly...N-Joy

                    S 1 Reply Last reply
                    0
                    • K koolprasad2003

                      Apurva, i think his name is attack by virus...so let pray for him.. get well soon MAMU... regards, koolprasad2003:) Be a good listener...Because Opprtunity knoughts softly...N-Joy

                      S Offline
                      S Offline
                      Sylvester george
                      wrote on last edited by
                      #11

                      ok sir ..i changed back to normal

                      Regards, Sylvester G sylvester_g_m@yahoo.com

                      1 Reply Last reply
                      0
                      • N N a v a n e e t h

                        DKalepu wrote:

                        call a http:// url which retruns a file name.

                        If url is returning file names, then why you need to attach it. Just send the file link on mail.

                        Navaneeth My Website

                        V Offline
                        V Offline
                        Vasudevan Deepak Kumar
                        wrote on last edited by
                        #12

                        Navaneeth. wrote:

                        If url is returning file names, then why you need to attach it. Just send the file link on mail.

                        True. That would save a bit of redundant data transfer on the network pipes.

                        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

                        U 1 Reply Last reply
                        0
                        • V Vasudevan Deepak Kumar

                          Navaneeth. wrote:

                          If url is returning file names, then why you need to attach it. Just send the file link on mail.

                          True. That would save a bit of redundant data transfer on the network pipes.

                          Vasudevan Deepak Kumar Personal Homepage Tech Gossips

                          U Offline
                          U Offline
                          umashankergr8
                          wrote on last edited by
                          #13

                          sorry kalepu...did u got the answer u looking!!!!!!!!!!!!!

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups