an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 10/27/2010 10:41:29 AM By lukezy. 6 replies.
10/24/2010 2:13:53 AM
TAhmad
Posts: 46
Joined: 1/12/2010
Tell a Friend
Hi Luke,
 
I'm using Dotshoppingcart V4.1.
 
I'm trying to use tell a friend control, but when I click submit it show me error message below.
 
<span>

Mailbox unavailable. The server response was: <tariq_yaa@yahoo.com> No such user here

</span>Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: <tariq_yaa@yahoo.com> No such user here

Source Error:

<table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td>
Line 59:         tokens.Add("TellFriend.Customer", Server.HtmlEncode(hidName.Value));
Line 60:         tokens.Add("TellFriend.Message", Server.HtmlEncode(txtMessage.Text));
Line 61:         EmailManager.Send("TellFriend", tokens, hidFrom.Value, new string[] { etbEmail.Text });
Line 62:     }
Line 63: }
</td> </tr> </tbody> </table>
Source File: c:\Commerce\Web\Store\TellFriend.ascx.cs    Line: 61

Stack Trace:

<table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td>
[SmtpFailedRecipientException: Mailbox unavailable. The server response was: <tariq_yaa@yahoo.com> No such user here]
   System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) +1471267
   System.Net.Mail.SmtpClient.Send(MailMessage message) +1757
   DotShoppingCart.Commercial.Core.EmailManager.SendEmail(String subject, String content, NameValueCollection tokensToReplace, String from, ICollection`1 to, ICollection`1 bcc) in E:\HushOHush\DotShoppingCartSuiteV4.1Source\Core\EmailManager.cs:51
   DotShoppingCart.Commercial.Core.EmailManager.Send(String host, String templateName, NameValueCollection tokensToReplace, String from, ICollection`1 to, ICollection`1 bcc) in E:\HushOHush\DotShoppingCartSuiteV4.1Source\Core\EmailManager.cs:30
   DotShoppingCart.Commercial.Core.EmailManager.Send(String templateName, NameValueCollection tokensToReplace, String from, ICollection`1 to) in E:\HushOHush\DotShoppingCartSuiteV4.1Source\Core\EmailManager.cs:20
   Store_TellFriend.SendEmail() in c:\Commerce\Web\Store\TellFriend.ascx.cs:61
   Store_TellFriend.btnSubmit_Click(Object sender, EventArgs e) in c:\Commerce\Web\Store\TellFriend.ascx.cs:46
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
</td> </tr> </tbody> </table>
10/24/2010 8:55:29 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Tell a Friend
Doesn't the error message make sense?
DotShoppingCart Staff
10/27/2010 5:56:11 AM
TAhmad
Posts: 46
Joined: 1/12/2010
Re: Tell a Friend
I'm trying to send to "tariq_yaa@yahoo.com" email about the product still show me the above error message.
What is the problem ? is it email setting, and where can I check the email setting?
 
Your advice is appreciated.
10/27/2010 9:13:10 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Tell a Friend
Take a look web.config and search for smtp.
DotShoppingCart Staff
10/27/2010 10:02:06 AM
TAhmad
Posts: 46
Joined: 1/12/2010
Re: Tell a Friend
I checked my web.config smtp as following:
10/27/2010 10:07:15 AM
TAhmad
Posts: 46
Joined: 1/12/2010
Re: Tell a Friend
I checked my web.config smtp its as following:
 
<smtp deliverymethod="Network" from="cc@hushohush.com">
 <network  host="our server ip"  port="25" password="xxxx" userName="cc@hushohush.com" defaultCredentials="false"/>
</smtp>
 
and I send another emails successfully.
10/27/2010 10:41:29 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Tell a Friend
The error message came from your mail server. Look at your mail server log to figure out why.
DotShoppingCart Staff