diff --git a/lib/ruby_outlook.rb b/lib/ruby_outlook.rb index 4d2b649..d71717d 100644 --- a/lib/ruby_outlook.rb +++ b/lib/ruby_outlook.rb @@ -256,7 +256,7 @@ def create_message(token, payload, folder_id = nil, user = nil) request_url = "/api/v2.0/" << (user.nil? ? "Me" : ("users/" << user)) unless folder_id.nil? - request_url << "/Folders/" << folder_id + request_url << "/MailFolders/" << folder_id end request_url << "/Messages"