Notifications
Clear all

Creating custom reply from email

1 Posts
1 Users
0 Reactions
297 Views
Posts: 1
Topic starter
(@abfmalex)
New Member
Joined: 5 months ago

I am using postie to read in email replies and have the post to wpforo. 

 

I am having some trouble setting the author of the reply to the email account sending the reply.

 

I am currently using this to create a post. 

$wpforo->post->add(array(
'forumid' => $forum_id,
'topicid' => $topic_id,
'body' => $content,
'authorid' => $user_id,
));

Do I need to reference the author in another way?