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. CDO.Message

CDO.Message

Scheduled Pinned Locked Moved Web Development
comsysadmintoolshelpquestion
7 Posts 3 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.
  • R Offline
    R Offline
    Rajkamal_dfine
    wrote on last edited by
    #1

    Dear all Please find the below sendMail() procedure 1. if the To email Id is external emailid then the email is not delivered whereas if the emailid is same domain it is working fine ..... Sub sendMail() sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig = Server.CreateObject("CDO.Configuration") Set cdoMessage = Server.CreateObject("CDO.Message") With cdoConfig.Fields .Item(sch & "sendusing") = 2 ' cdoSendUsingPort .Item(sch & "smtpserver") = "mail.company.com" .update End With With cdoMessage Set .Configuration = cdoConfig .From = "info@company.com" .To = "someone@yahoo.com" .Subject = "Inquiry" .HTMLBody=strMsg .Send End With Set cdoMessage = Nothing Set cdoConfig = Nothing End Sub can anyone tell me what is wrong with my script....if not what is the solution for this issue Thnaks inadvance N.Rajakumar B.E., Application Developer

    B V 2 Replies Last reply
    0
    • R Rajkamal_dfine

      Dear all Please find the below sendMail() procedure 1. if the To email Id is external emailid then the email is not delivered whereas if the emailid is same domain it is working fine ..... Sub sendMail() sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig = Server.CreateObject("CDO.Configuration") Set cdoMessage = Server.CreateObject("CDO.Message") With cdoConfig.Fields .Item(sch & "sendusing") = 2 ' cdoSendUsingPort .Item(sch & "smtpserver") = "mail.company.com" .update End With With cdoMessage Set .Configuration = cdoConfig .From = "info@company.com" .To = "someone@yahoo.com" .Subject = "Inquiry" .HTMLBody=strMsg .Send End With Set cdoMessage = Nothing Set cdoConfig = Nothing End Sub can anyone tell me what is wrong with my script....if not what is the solution for this issue Thnaks inadvance N.Rajakumar B.E., Application Developer

      B Offline
      B Offline
      Bradml
      wrote on last edited by
      #2

      is that VB.net code?


      Brad Australian - Captain See Sharp on "Religion" any half intelligent person can come to the conclusion that pink unicorns do not exist.

      R 1 Reply Last reply
      0
      • R Rajkamal_dfine

        Dear all Please find the below sendMail() procedure 1. if the To email Id is external emailid then the email is not delivered whereas if the emailid is same domain it is working fine ..... Sub sendMail() sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig = Server.CreateObject("CDO.Configuration") Set cdoMessage = Server.CreateObject("CDO.Message") With cdoConfig.Fields .Item(sch & "sendusing") = 2 ' cdoSendUsingPort .Item(sch & "smtpserver") = "mail.company.com" .update End With With cdoMessage Set .Configuration = cdoConfig .From = "info@company.com" .To = "someone@yahoo.com" .Subject = "Inquiry" .HTMLBody=strMsg .Send End With Set cdoMessage = Nothing Set cdoConfig = Nothing End Sub can anyone tell me what is wrong with my script....if not what is the solution for this issue Thnaks inadvance N.Rajakumar B.E., Application Developer

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

        http://lavanyadeepak.blogspot.com/2007/03/comprehensive-email-troubleshooting.html[^]

        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

        R 1 Reply Last reply
        0
        • B Bradml

          is that VB.net code?


          Brad Australian - Captain See Sharp on "Religion" any half intelligent person can come to the conclusion that pink unicorns do not exist.

          R Offline
          R Offline
          Rajkamal_dfine
          wrote on last edited by
          #4

          The code is in VB Script for my ASP Application .....not .Net

          N.Rajakumar B.E., Application Developer,

          B 1 Reply Last reply
          0
          • V Vasudevan Deepak Kumar

            http://lavanyadeepak.blogspot.com/2007/03/comprehensive-email-troubleshooting.html[^]

            Vasudevan Deepak Kumar Personal Homepage Tech Gossips

            R Offline
            R Offline
            Rajkamal_dfine
            wrote on last edited by
            #5

            Hi Vasudevan Deepak Kumar Thanks for sent me a web link but it speaks about .NET ..I want this to be done with ASP let me know if you have any idea....

            N.Rajakumar B.E., Application Developer,

            V 1 Reply Last reply
            0
            • R Rajkamal_dfine

              The code is in VB Script for my ASP Application .....not .Net

              N.Rajakumar B.E., Application Developer,

              B Offline
              B Offline
              Bradml
              wrote on last edited by
              #6

              So that is client side code?


              Brad Australian - Captain See Sharp on "Religion" any half intelligent person can come to the conclusion that pink unicorns do not exist.

              1 Reply Last reply
              0
              • R Rajkamal_dfine

                Hi Vasudevan Deepak Kumar Thanks for sent me a web link but it speaks about .NET ..I want this to be done with ASP let me know if you have any idea....

                N.Rajakumar B.E., Application Developer,

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

                Concept is same. .NET BCL actually wraps around the same CDO object.

                Vasudevan Deepak Kumar Personal Homepage Tech Gossips

                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