Hi to all,
I configure my STP setting (in Web.config).
But when I check out an order I don't get any email. Where I can see what is happend?
And when I try to use the "Tell a Friend" option, I got the following error:
SendEmail()
EmailManager.Send("TellFriend", tokens, hidFrom.Value, new string[] { etbEmail.Text });
System.FormatException occurred
Message=The specified string is not in the form required for an e-mail address.
Source=System
StackTrace:
at System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset, String& displayName)
at System.Net.Mail.MailAddress.ParseValue(String address)
at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
at System.Net.Mail.MailMessage..ctor()
at DotShoppingCart.Commercial.Core.EmailManager.SendEmail(String subject, String content, NameValueCollection tokensToReplace, String from, ICollection`1 to, ICollection`1 bcc)
at DotShoppingCart.Commercial.Core.EmailManager.Send(String host, String templateName, NameValueCollection tokensToReplace, String from, ICollection`1 to, ICollection`1 bcc)
at DotShoppingCart.Commercial.Core.EmailManager.Send(String templateName, NameValueCollection tokensToReplace, String from, ICollection`1 to)
at Store_TellFriend.SendEmail() in ..\TellFriend.ascx.cs:line 61
InnerException:
What can I do?
|