Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ferdy Hoefakker 214 posts 248 karma points
    Dec 01, 2010 @ 13:03
    Ferdy Hoefakker
    0

    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

  • Anders Burla 2560 posts 8256 karma points
    Dec 01, 2010 @ 13:09
    Anders Burla
    0

    Try check the umbracoLog in the DB and see if there is an error - and please post it if there is.

  • Ferdy Hoefakker 214 posts 248 karma points
    Dec 01, 2010 @ 13:35
    Ferdy Hoefakker
    0

    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

  • Anders Burla 2560 posts 8256 karma points
    Dec 01, 2010 @ 13:50
    Anders Burla
    0

    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

  • Ferdy Hoefakker 214 posts 248 karma points
    Dec 01, 2010 @ 14:10
    Ferdy Hoefakker
    0

    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

  • Anders Burla 2560 posts 8256 karma points
    Dec 01, 2010 @ 15:40
    Anders Burla
    1

    Great! And yes we try to be speedy :)

    Could you mark the answer as a solution?

Please Sign in or register to post replies

Write your reply to:

Draft