Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Jan 15, 2013 @ 16:05
    Matt Brailsford
    0

    "contentId is not an int. Umbraco 4 only supports ints for content ids." when sending emails using MVC in Umbraco 4.11.x

    Hi,

    I'm trying to send an email using uCommerce's email service, however, when I tell it to send, I get an exception 

    contentId is not an int. Umbraco 4 only supports ints for content ids.

    I'm using umbraco 4.11.1 and MVC as the language for my template. 

    Anybody got any ideas on why that might be?

    Cheers

    Matt

  • Tim 168 posts 371 karma points
    Jan 15, 2013 @ 16:08
    Tim
    100

    Daft question I'm sure but have you configured the emails within uCommerce so they point at some form of content page?

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Jan 15, 2013 @ 16:10
    Matt Brailsford
    0

    Hi Tim,

    I have yes. I've been following along this post:

    http://www.publicvoid.dk/SendingEmailUsingUCommerce.aspx

    So seems setup fine to me.

    Matt

  • Tim 168 posts 371 karma points
    Jan 15, 2013 @ 16:15
    Tim
    0

    Odd, that's the only time I can think of that I've seen that error, I assume the page is accessible to logged out users etc...

    I'll see if I can repro here.

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Jan 15, 2013 @ 16:18
    Matt Brailsford
    0

    Doh! Looks like it was my fault. I must not have linked the node to the email profile. Setting it has fixed it.

    Duh! :)

    Thanks anyways.

  • Tim 168 posts 371 karma points
    Jan 15, 2013 @ 16:19
    Tim
    0

    Ahh good good so it was what I thought it was :) looking at Soren's example it isn't the clearest

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies