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. send mail through asp

send mail through asp

Scheduled Pinned Locked Moved Web Development
business
7 Posts 4 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.
  • I Offline
    I Offline
    idsanjeevjha
    wrote on last edited by
    #1

    Hello I have a page thats display reports my requirements is after display of records send mail this reports to mail id selected from table click on mail and other is to save this reports to .xls file thanks

    sanjeev

    C P 2 Replies Last reply
    0
    • I idsanjeevjha

      Hello I have a page thats display reports my requirements is after display of records send mail this reports to mail id selected from table click on mail and other is to save this reports to .xls file thanks

      sanjeev

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      This is ASP, not ASP.NET ? I'd look for C++ COM objects to do the work for you, seems most likely to succeed to me.

      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      I 1 Reply Last reply
      0
      • C Christian Graus

        This is ASP, not ASP.NET ? I'd look for C++ COM objects to do the work for you, seems most likely to succeed to me.

        Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        I Offline
        I Offline
        idsanjeevjha
        wrote on last edited by
        #3

        i can't understand

        sanjeev

        C V 2 Replies Last reply
        0
        • I idsanjeevjha

          i can't understand

          sanjeev

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Are you using asp, or ASP.NET ? What compiler are you using ? What languages ?

          Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          I 1 Reply Last reply
          0
          • C Christian Graus

            Are you using asp, or ASP.NET ? What compiler are you using ? What languages ?

            Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

            I Offline
            I Offline
            idsanjeevjha
            wrote on last edited by
            #5

            i am using asp not .net

            sanjeev

            1 Reply Last reply
            0
            • I idsanjeevjha

              Hello I have a page thats display reports my requirements is after display of records send mail this reports to mail id selected from table click on mail and other is to save this reports to .xls file thanks

              sanjeev

              P Offline
              P Offline
              Poonam Gandash
              wrote on last edited by
              #6

              You can send mail using cdont or cdosys depending on server support. for cdont I am adding code set mymail=server.createobject("cdonts.newmail") mymail.mailformat=0 mymail.bodyformat=0 mymail.from="info@rpgwebsolutions.com" mymail.to="poonam@indiabusinesszone.com" mymail.subject="Here Subject will go.." mymail.body="Body data will go here. You can add html tags in this data" mymail.send set mymail=nothing for exporting reports to excel use this code in the head section of document: Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "Content-Disposition", "attachment; filename=Task_Monitor_Reports.xls"

              1 Reply Last reply
              0
              • I idsanjeevjha

                i can't understand

                sanjeev

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

                Use CDONTS or CDO Sys

                Vasudevan Deepak Kumar Personal Homepage
                Tech Gossips
                A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

                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