When finalizing the order, there is no email send to the customer. The settings in the web.config have been checked and should be correct as I got mails from my teacommerce install yesterday.
Error sending confirmation email: System.InvalidOperationException: A recipient must be specified. at System.Net.Mail.SmtpClient.Send(MailMessage message) at TeaCommerce.Data.Controllers.OrderController.FinalizeOrder(Order order, PaymentCallbackInfo callbackInfo)
Though that's still strange, as I did submit an email adress and the textfield has the correct id...
What is the "E-mail property alias" in "General settings" in the admin? That name should be identical to the name you use in your javascript - try look in the database if their is an email value on the Order. If its null something is wrong and the email isn't named correctly in the javascript and in the setting in the admin
Alright, nevermind. I found my problem. After noticing that the firstname, lastname AND email field where empty in the database, I checked the confirmation function again. Turns out I misspelled the id of the containing element the function has to search through for it's properties -_-
Thanks for your help though Anders. Such speedy replies, you guys are awesome!
Email function not working
When finalizing the order, there is no email send to the customer. The settings in the web.config have been checked and should be correct as I got mails from my teacommerce install yesterday.
So, what am I missing?
-Ferdy
Try check the umbracoLog in the DB and see if there is an error - and please post it if there is.
Well well, seems like there was indeed an error!
Error sending confirmation email: System.InvalidOperationException: A recipient must be specified. at System.Net.Mail.SmtpClient.Send(MailMessage message) at TeaCommerce.Data.Controllers.OrderController.FinalizeOrder(Order order, PaymentCallbackInfo callbackInfo)
Though that's still strange, as I did submit an email adress and the textfield has the correct id...
-Ferdy
What is the "E-mail property alias" in "General settings" in the admin? That name should be identical to the name you use in your javascript - try look in the database if their is an email value on the Order. If its null something is wrong and the email isn't named correctly in the javascript and in the setting in the admin
Alright, nevermind. I found my problem. After noticing that the firstname, lastname AND email field where empty in the database, I checked the confirmation function again. Turns out I misspelled the id of the containing element the function has to search through for it's properties -_-
Thanks for your help though Anders. Such speedy replies, you guys are awesome!
-Ferdy
Great! And yes we try to be speedy :)
Could you mark the answer as a solution?
is working on a reply...