Tim Scott
Tim Scott

Reputation: 15205

Reply From User Not On Message

I'm building an app that will display mail conversations and allow users to reply. In some cases a user (userB) who was not previously included in the conversation wants to join in. I would like for this newcomer to be able to reply or somehow add to the conversation (with them as the from address).

I've tried this:

client.post('/users/[email protected]/messages/<message ID>/reply', {
  message:{
    from: {
      emailAddress: {
        address: "[email protected]",
      }
    }
  },
  comment: `userB has something important to add.`
})

But get ErrorSendAsDenied.

How can I get permission for this? Is it even possible?

One alternative I have considered is forwarding the message to userB and then reply to that. Any better ideas?

Upvotes: 0

Views: 41

Answers (1)

Danstan
Danstan

Reputation: 1771

I see no other way. You will just have to forward the message first because POST /users/UPN/messages/msg-id/reply requires the message being replied and the sender to be associated with the one milbox.

Upvotes: 1

Related Questions