| Author | 
         | 
         
      
        
         
         matiasmf Newbie 
          
 
  Joined: 03 November 2008 Location: Argentina
 Online Status: Offline Posts: 2
          | 
        
         
          
           | Posted: 03 November 2008 at 9:42am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Hi, 
 I need to know the best way & faster to send a lot of emails from a .net newsletter application. I have lists of emails that haves 20,000 accounts... 4000 of hotmail, 3000 of gmail... i try to send directly by mx at works fine, but not so fast.... using message queue will upgrade the performance ? 
 During mi testing i realice that if i have to send to the same mx the best way is making one single connection and a loop, message queue uses this method ?
 
 thanks
 
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Andrew AfterLogic Support 
          
 
  Joined: 28 April 2006 Location: United States
 Online Status: Offline Posts: 1189
          | 
        
         
          
           | Posted: 05 November 2008 at 4:28am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Have you tried to increase Smtp.MaxThreadCount value?
 
 Sending to MX directly via Smtp.SendMailMerge (or Smtp.AddJob / Smtp.SendJobs) in multiple threads (Smtp.MaxThreadCount > 1) is the fastest way.
 
 Using MMQ won't increase the performance as it uses a relay server for sending messages. Moreover, MMQ is designed for limiting sending rate in case if recipients SMTP servers treat you as a spammer due to high sending rate.
 
 Best regards,
 Andrew
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |