1 comment

  1. You have the arguments for get_post_meta backwards. You have:

    get_post_meta('imail', $post->post_id);
    

    Whereas, where you to check the Codex, it should be:

    get_post_meta( $post_id, $key, $single );
    

    Or is your case:

    get_post_meta($post->post_id,'imail');
    

    That is assuming that $post is set correctly and that you are using the Gravity Forms hooks correctly.

Comments are closed.