Have a TimeWarner SMTP server that requires Authentication in order to use it. If I use .NET WEB.MAIL it will authenticate and send the e-mail. However if I try using BasicAuthentication on FireMail it wil not send.
Here is the Web.Mail which seems to work
SmtpMail.SmtpServer = SMTP;
System.Web.Mail.MailMessage mm = new MailMessage();
..... Build the Body & Subject, assign addresses
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", 1);
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", userName);
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", passWord );
SmtpMail.Send(mm);
Here is the FireMail that generates an error.
HtmlMessage message = new HtmlMessage( );
..... Build the Body & Subject, assign addresses
BasicAuthentication authentication = new BasicAuthentication( userName, passWord );
Connection connection = new Connection( SMTP, authentication );
message.Send( connection );
This is the error that is being thrown:
Command not supported
Using ceTe.FireMail.10.dll
(Developer Edition Build 70906)
Any suggestions??
Basic Authentication
Re: Basic Authentication
Support · Jun 12, 2008Hello,
Can you please try running the Authentication example included with the product download under the examples folder and see if you continue getting any errors? If you get error, please provide us with the entire stack trace of the error so that we can look into it further.
Thanks,
ceTe Software Support Team
Re: Basic Authentication
Forum member · Jan 28, 2009Also getting a similar behavior. I tried the sample code, but I still get the same error:
ceTe.FireMail.Security.SmtpAuthenticationException: Command not supported at ceTe.FireMail.Security.BasicAuthentication.Authenticate(String server, Int32 port, Int32 bufferSize, Connection connection) at ceTe.FireMail.Connection.b() at ceTe.FireMail.Message.Send(Connection connection) at EncompassWebServices.BC_FireMail.SendMessage(String smtpServer, String smtpServerUserName, String smtpServerPassword, String fromAddress, String toAddress) in c:\inetpub\wwwroot\App_Code\FireMail.vb:line 108
Using ceTe.FireMail.20.dll
Re: Basic Authentication
Support · Jan 29, 2009Hello,
Can you please try using the NtlmAuthentication instead of the BasicAuthentication and see if it works for you? Please let us know if it works for you. You can refer to the NtlmAuthentication
in our help documentation.
Thanks,
ceTe Software Support Team.
Re: Basic Authentication
Forum member · Jan 29, 2009same error:
ceTe.FireMail.Security.SmtpAuthenticationException: Command not supported at ceTe.FireMail.Security.NtlmAuthentication.Authenticate(String server, Int32 port, Int32 bufferSize, Connection connection) at ceTe.FireMail.Connection.b() at ceTe.FireMail.Message.Send(Connection connection) at EncompassWebServices.BC_FireMail.SendMessage(String smtpServer, String smtpServerUserName, String smtpServerPassword, String fromAddress, String toAddress) in c:\inetpub\wwwroot\App_Code\FireMail.vb:line 108
Re: Basic Authentication
Support · Jan 29, 2009Hello,
We will check with our developers regarding this issue and we will post the updates in the forum as soon as we hear something from them.
Thanks,
ceTe Software Support Team.
Re: Basic Authentication
Support · Feb 2, 2009Hello,
We support two authentication modes, BasicAuthentication and NtlmAuthentication. Most of the windows servers do support these authentication modes. What server are you using? It looks like your server is not supporting these two authentication modes. You may have to change some settings in your server which allows one of these authentication modes.
Thanks,
ceTe Software Support Team.
Re: Basic Authentication
Forum member · Feb 2, 2009Our customer hosts their own web server that is Windows 2003, IIS6, etc.. however, their email server is an Apple OS 10.5 Server using the Mail service.
We have another email feature in our software that allows them to send any of our web pages as html using the VB System.Web.Mail.SmtpMail and System.Web.Mail.MailMessage. This authenticates and sends fine through their apple server.
Do you think there is a way to make Firemail work with their Apple email server?
Re: Basic Authentication
Support · Feb 2, 2009Hello,
We have not done any testing using the FireMail for .NET product on Apple Email Server. However, we do not see any issues using it. We are not sure what authentication settings are used on the Apple Email Server.
We will try to see if we can do some testing on Apple OS.
Thanks,
ceTe Software Support Team
Re: Basic Authentication
Forum member · May 11, 2010Hi,
I have exactly the same problems as the poster above. I can use the standard .NET components to send an email using BasicAuthentication outside of my domain.
I can use the FireMail components to send emails to my domain using no authentiction, but as soon as Iwant to send outside of the domain I must use authettication. Whenchoosing basic and NTLM atentication I get teh same exception message as above.
The SMTP server is I am using is ESMPT Exim v4.71.
Any help you can give would be great.
Regards
Re: Basic Authentication
Support · May 12, 2010Hello,
The error shows that the Authentication mode you are using is not supported by the SMTP server you are using. The BasicAuthentication may not be allowed by default, please try allowing the BasicAuthentication in your SMTP server and it should work fine.
Thanks,
ceTe Software Support Team.
Re: Basic Authentication
Forum member · May 12, 2010Hi,
Thanks for your reply. I do not think that the autentication needs to be enabled on the smtp server. When I use the standard .NET libraries to produce and send an email with basic authentication it sends without a problem. Only when I switch to the FireMail libraries do I see the problem.
I have opened an issue with your support team for this.
Regards
Simon
Re: Basic Authentication
Support · Aug 5, 2010Hello,
The issue has been resolved in the latest build DLL files. Please contact our [^a|mailto:support@cete.com|opennewwindow|Support Team^] to get the DLL files.
Thanks,
ceTe Software Support Team