| Author | 
         | 
         
      
        
         
         Guests Guest Group 
          
 
  Joined: 10 November 2003
 Online Status: Online Posts: 262
          | 
        
         
          
           | Posted: 07 January 2004 at 4:55pm | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
My Mail Objects doesnt Send messages 
 it receives them but u could not send messages
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Alex AfterLogic Support 
          
  
  Joined: 19 November 2003
 Online Status: Offline Posts: 2207
          | 
        
         
          
           | Posted: 08 January 2004 at 9:12am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
This error probably means there is no connection to smtp server or your smtp server requires particular sort of authentication (SMTP.AuthMethod, SMTP.UserName, SMTP.Password properties) BEFORE calling SMTP.Connect method.
 
 
 ...
 objSMTP.AuthMethod = 1 ' PLAIN authentication
 objSMTP.UserName = "mail_account"
 objSMTP.Password = "mail_password" 
 objSMTP.Connect
 ...
 
 SMTP object provides 3 properties describing an error:
 ErrDesc, ErrCode, ServerResponse.
 
 Also, logging option is helpful for determining the problem reason.
 
 ...
 objSMTP.EnableLogging = True
 objSMTP.LogFilePath = "C:\smtp_log.txt"
 objSMTP.Connect
  Edited by Alex on 08 January 2004 at 9:14am
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |