We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

Daniel A.39's avatar
Daniel A.39
Explorer | Level 3
9 years ago

When authentication completes, user gets mail that says he logged in using AppleMail

Our app runs on macOS and is written in Objective C, so we use this call to initiate authentication for a new user:

 

[DropboxClientsManager authorizeFromControllerDesktop:[NSWorkspace sharedWorkspace]

  controller:viewController

  openURL:^(NSURL *url){ [[NSWorkspace sharedWorkspace] openURL:url]; }

  browserAuth:NO];

 

As you can see, we are passing NO for browserAuth, so an embedded web view is used by the SDK to do the login, rather than launching the browser application.

 

When the authentication completes successfully, the user receives an email from Dropbox with the title: New login from AppleMail on Mac OS X.  The email contains this text:

 

We noticed you logged into Dropbox using AppleMail on Mac OS X at 10:01 AM GMT-05:00 from Davison, MI, United States.

 

Why does this email tell the user he logged in using AppleMail rather than our app? Is there some way we can control the application name that is reported in this email?

 

Thanks!

5 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    Thanks for the report! That's based on the User-Agent of the browser used, so it looks like we need to improve the detection there. We'll look into it.
  • Daniel A.39's avatar
    Daniel A.39
    Explorer | Level 3
    9 years ago

    Would be great if the message could (also) reference the product using the API, since that will give the user a lot more context regarding the email.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    Thanks! I'll send that request along as well.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    Quick update here, the email now includes the app name, so this should be less confusing for users. Hope this helps!
  • klm1's avatar
    klm1
    Helpful | Level 6
    9 years ago

    That's excellent -- thanks very much for adding that!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,034 PostsLatest Activity: 3 hours ago
409 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!