an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Installation > Weird SMTP mail problem
Last Post 11/9/2010 10:51:35 PM By lukezy. 6 replies.
4/27/2008 10:40:26 AM
rampar
Posts: 32
Joined: 4/23/2008
Weird SMTP mail problem

Ok, so I wanted to change the Admin profile and I changed the email address to my personal one so that when I tested out the shopping cart I could see if I received an email.  Anyway, it seems like after I did that I'm not receiving anymore of my emails that contain "Unhandled Exception".  For instance, when I use the Contact Form, I receive the emails at my email address, but if I select "Copy me on this email" I get the regular error, but I never receive the "Unhandled Exception" email.  I recieve every Form email though, so I don't think it can be my SMTP settings.

I have my email for us@domain.com hosted at GoDaddy and I have a VPS hosted through EMC Telecom and just have the domain forwarded to them.  So, I have my SMTP relay set as smtp.secureserver.net port: 25.  According to GoDaddy, this shouldn't work, but it does.  I even Telnet'ed in there and it works.  Anyway, here's the last Error email I got.

Thanks as Always Luke!

Timestamp: 4/26/2008 7:12:25 PM
Message: HandlingInstanceID: 271310e9-904d-43e7-a781-280e0dfb8f31
An exception of type 'System.Net.Mail.SmtpFailedRecipientException' occurred and was caught.
--------------------------------------------------------------------------------------------
04/26/2008 12:12:25
Type : System.Net.Mail.SmtpFailedRecipientException, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Mailbox name not allowed. The server response was: sorry, relaying denied from your location [207.114.196.252] (#5.7.1)
Source : System
Help link :
FailedRecipient : <ramin.ma@hotmail.com>
StatusCode : MailboxNameNotAllowed
Data : System.Collections.ListDictionaryInternal
TargetSite : Void Send(System.Net.Mail.MailMessage)
Stack Trace : at System.Net.Mail.SmtpClient.Send(MailMessage message)
at DotShoppingCart.OpenSource.Core.EmailManager.SendEmail(String subject, String content, NameValueCollection tokensToReplace, String from, ICollection`1 to, ICollection`1 bcc)
at DotShoppingCart.OpenSource.Core.EmailManager.Send(String host, String templateName, NameValueCollection tokensToReplace, String from, ICollection`1 to, ICollection`1 bcc)
at DotShoppingCart.OpenSource.OrderPipeline.OrderEmailProcessorProvider.SendOrderEmail(String host, Order order, IConfigurationSource cfgSrc, String emailTemplate)
at DotShoppingCart.OpenSource.OrderPipeline.OrderEmailProcessorProvider.ProcessOrder(String host, Order order, IConfigurationSource cfgSrc)
at DotShoppingCart.OpenSource.OrderPipeline.OrderProcessorProvider.ProcessOrders(String host, IConfigurationSource cfgSrc, Int32 orderStatusIdSource)

Additional Info:

MachineName : CT3459
TimeStamp : 4/26/2008 7:12:25 PM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
AppDomainName : /LM/W3SVC/1/Root/AKStore-1-128537074959410000
ThreadIdentity :
WindowsIdentity : NT AUTHORITY\NETWORK SERVICE

Category: General
Priority: 0
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: CT3459
Application Domain: /LM/W3SVC/1/Root/AKStore-1-128537074959410000
Process Id: 24472
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 47704
Thread Name:
Extended Properties:
4/27/2008 12:17:20 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Weird SMTP mail problem

The error message is very clear. Your SMTP mail server denied from your web server 207.114.196.252. You need to configure your mail server to accept emails from your server.

Message : Mailbox name not allowed. The server response was: sorry, relaying denied from your location [207.114.196.252] (#5.7.1)

DotShoppingCart Staff
4/27/2008 10:37:02 PM
rampar
Posts: 32
Joined: 4/23/2008
Re: Weird SMTP mail problem

Yeah, I know that's what it says, but I didn't think it could send them to me through the form then.  Maybe I didn't explain it clearly, or this is how it is supposed to happen.

So, if I use the Contact Form to send me an email at admin@mywebsite.com I'll receive it!

But, the Error emails that should be sent to the same email address won't go through.  So, if the SMTP is configured for both the Error emails and the Contact Form emails, then how come it only works on the contact form?  I'm giving them a call on Monday, but I thought this was just a weird issue. 

I'm also trying to setup an SMTP Virtual Server, but I can't seem to get that working either : (

 

Thanks!!!

4/27/2008 10:48:05 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Weird SMTP mail problem

Actually there are two SMTP settings the web.config. One is for regular SMTP configuration and the other is for error handling. Check for the one for error handling. It should be in the loggingConfiguration section of the Enterprise Library.

DotShoppingCart Staff
4/28/2008 12:52:36 AM
rampar
Posts: 32
Joined: 4/23/2008
Re: Weird SMTP mail problem

Yeah, they're are both set the same.  So, this is a weird issue huh!?!?!

11/9/2010 7:21:46 PM
malshini
Posts: 29
Joined: 11/9/2010
Re: Weird SMTP mail problem
My issue is that in the "Order Detail" page it says "Order confirmation" mail is sent and the current status is changed to "Awaiting Payment cleared". But The Order Confirmation mail is not received by the customer sometimes.
 
(Customer recieves mails for some orders only) . I need 100% reliability in sending mails.( The template for the mail is taken from the Database. )

Please clarify this issue. Is it a SMTP serve issue / getting overloaded?
 
Thanks
11/9/2010 10:51:35 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Weird SMTP mail problem
Yes, it's SMTP server issue. Please take a look at SMTP server log.
DotShoppingCart Staff