Copied to clipboard

Flag this post as spam?

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


  • karel 2 posts 23 karma points
    Feb 17, 2012 @ 11:53
    karel
    0

    Can't get contact form working.

    The error the contact form shows is:

    Please review the following errors:

    • Invalid post

     

    I have my own mailserver yet the outgoing port 25 is blocked (by my isp) so I just use my isp outgoing mail server (as relay in my mailserver) which doens't require username and password. What do I put in the web.config then? Just the host? When I looked up Invalid Post in the sources it shows it failed on following statement:
    if (!Context.IsValidAntiForgery()) { ModelState.AddFormError("Invalid post"); }

    what am I missing here?

     

    thnx in advance

Please Sign in or register to post replies

Write your reply to:

Draft