Command not supported

Command not supported

Forum member · Nov 21, 2007
I am currently using FireMail (build 70906) which until yesterday the process that I have in place has been working with out any major issues. Now however I am getting message that the state the 'Command not supported'. I do not beleive that it is an issue in FireMail itself but something that is occuring on/around out exchange server. I was hoping that you could maybe provide some information as to what would be surrounding the above message. The code fragment below has been used to send > 30,000 e-mails so it seems to be stable. try { Thread.Sleep( 250 ); // Create a basic authentication instance BasicAuthentication authentication = new BasicAuthentication( userName, passWord ); // Create a Connection Connection connection = new Connection( SMTP, authentication ); // Send the message using the created connection message.Send( connection ); GoodSend = true; } catch( Exception ex ) { HtmlFailure = true; ErrorLog( string.Format("Problem Sending E-Mail on HTML Send. {0}", ex.Message )); while( ex.InnerException != null ) { ErrorLog( string.Format("The following InnerException reported: {0}", ex.InnerException ) ); ex = ex.InnerException; } } I did build a fall back routine in that if FireMail failed for any reason that the routine would use System.Web.Mail and it is also failing but it providing a more extensive error stack whic I have included to maybe provide some information. 11/21/2007 10:11:11 Problem Sending E-Mail. Could not access 'CDO.Message' object. 11/21/2007 10:11:11 The following InnerException reported: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x8004020F): The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for person@somewhere.com

Re: Command not supported

Support · Nov 21, 2007
Hello, The error message appears to be not related to the FireMail for .NET product. I did some search on the internet and the following workarounds did fix the problem for some: 1. Changing the Exchange Mail Server. 2. Make sure the MailMessage.From is a valid email address that exists on the SmtpMail.SmtpServer. 3. Allow relaying for your MailMessage.From address (see your specific mail server documentation for this) 4. Allow relaying for your IP Address (see your specific mail server documentation for this). 5. Your local SMTP service is now allowing relay. You might want to tell it to allow relay for 127.0.0.1 Try allowing relaying for your IP address by: - Opening the IIS Admin MMC - Right-Clicking on the SMTP Virtual Server and selecting Properties - On the Access tab, click the Relay button - Grant 127.0.0.1 (or the IP address used by System.Web.Mail) to the Computers list. - Restarting the SMTP Service Thanks, ceTe Software Support Team

Re: Command not supported

Forum member · Nov 21, 2007
I'll past the information on. Thanks for the quick response and some possible solutions to try.