an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > The SMTP server requires a secure connection or...
Last Post 9/15/2010 9:57:30 AM By lukezy. 1 replies.
9/15/2010 2:38:17 AM
bansal_db
Posts: 181
Joined: 4/13/2009
The SMTP server requires a secure connection or the client was not authenticated. The server response was: SMTP authentication is required
Hey Luke,
 
I am getting this error from the orderpipeline email processor on my test environment. I am using EmailManager.Send() at couple of other places in the code and its working fine. Its sending the emails. The only place emails are not being sent is the orderpipeline.
 
Here is the working code: This is on the UserEdit Page. There is a button that sends this email out when the account is approved.
 
EmailManager.Send(SiteNavigation.GetHost(),"AccountApproval", tokens, SiteConfigurationSection.GetSection().SiteEmailAddress, new string[] { DSCUser.Email }, salesRepemails);
 
 
The one in the orderpipeline is throwing the error.
 
EmailManager.Send(host, emailTemplate, tokens, siteSection.SiteEmailAddress,new string[] { order.Email }, bcc);
 
 
What I am not able to figure out is that its the same function which is being called at both places. It works at one and throws the error at other.
 
Any ideas?
 
Thanks
 
-D
 
 
 
 
 
 
 
 
9/15/2010 9:57:30 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: The SMTP server requires a secure connection or the client was not authenticated. The server response was: SMTP authentication is required
Take a look at OrderPipelineService.exe.config. Make sure you have right username & password set for smtp node.
DotShoppingCart Staff