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 4125 posts 22222 karma points MVP 9x 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 174 posts 378 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 4125 posts 22222 karma points MVP 9x 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 174 posts 378 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 4125 posts 22222 karma points MVP 9x 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 174 posts 378 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

Please Sign in or register to post replies

Write your reply to:

Draft