Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        
            
                
                    
                        
                            
                                | Author | 
                                
                                 Topic  | 
                             
                            
                                    | 
                                         AskSQLTeam 
                                        Ask SQLTeam Question 
                                         
                                        
                                        0 Posts  | 
                                        
                                        
                                            
                                            
                                             Posted - 2002-08-01 : 08:43:02
                                            
  | 
                                             
                                            
                                            | Simon writes "I have been working through the article by Merkin 'Building a Mail Queue System' and have hit a problem.It works fine up to the point where the command 'Set objCDO = Server.CreateObject("CDONTS.NewMail")' is called whereupon the error message cannot create object 'server' is displayed. I have sent CDONT emails on the server itself using asp files but cant work out where this is falling down.Grateful for any advice.I am using SQL 7ThanksSimon" | 
                                             
                                         
                                     | 
                             
       
                            
                       
                          
                            
                                    | 
                                     jasper_smith 
                                    SQL Server MVP & SQLTeam MVY 
                                     
                                    
                                    846 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2002-08-01 : 16:17:05
                                          
  | 
                                         
                                        
                                          If you are using VBScript and its NOT in an ASP page then get rid of the Server. i.e. Set objCDO = CreateObject("CDONTS.NewMail")HTHJasper SmithBTW How did this get in Analysis Services ?  Edited by - jasper_smith on 08/01/2002  16:18:08  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                            
                                | 
                                    
                                      
                                     
                                    
                                 | 
                             
                         
                     | 
                 
             
         |