Support » Plugin: Front End PM » Send message manually by function

  • Resolved Metal_13

    (@metal_13)


    I would like to make a form then send the output of that form to PM.
    can you help me make this work? tested it but nothing seems to be happening

    $message[mgs_parent] = 0;
    $message[mgs_author] = 65153;
    $message[message_to_id] = 1;
    $message[mgs_title] = 'TEST TITLE';
    $message[mgs_content] = 'TEST MSG TEST MSG TEST MSG';
    $message[mgs_type] = 'message';
    $message[mgs_status] = 'publish';
    $message[mgs_last_reply_by] = 1;
    //$message[mgs_last_reply_time] = '2020-07-24 19:32:25';
    $message[mgs_last_reply_excerpt] = 'TEST mgs_last_reply_excerpt';
    
    fep_send_message( $message, $override = array() );
    • This topic was modified 1 year, 2 months ago by Metal_13.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Send message manually by function’ is closed to new replies.