cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

Daniel A.39
Explorer | Level 3

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 5

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

Greg-DB
Dropboxer
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.

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

Daniel A.39
Explorer | Level 3

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.

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

Greg-DB
Dropboxer
Thanks! I'll send that request along as well.

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

Greg-DB
Dropboxer
Quick update here, the email now includes the app name, so this should be less confusing for users. Hope this helps!

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

klm1
Helpful | Level 6

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

Who's talking

Top contributors to this post

  • User avatar
    klm1 Helpful | Level 6
  • User avatar
    Greg-DB Dropboxer
  • User avatar
    Daniel A.39 Explorer | Level 3
What do Dropbox user levels mean?
Need more support?