Tuesday, February 24, 2015

Sending e-mails from Lightroom and Gmail with two-factor authentication

So you want to be able to send e-mails with your photos directly from Lightroom, but have not been able to get it to work. When you enter your username/e-mail and password, Lightroom fails to validate the settings or fails when you send the mail. You realize that you've enabled two-factor authentication for you Gmail account (which is great and you should do it!) and wonder how to get it to work, since Lightroom does not ask for your authentication code.

Well, there is a solution. Google allows you to make 'App Passwords' which is logins for your Gmail that does not need two-factor authentication. Instead you get a fairly complex password that you can then enter into your App still be allowed to send mails.

Btw: This also works for Google Apps accounts!

Here is how to do it.

  1. Goto Google Account settings.
  2. Scroll down to 'App passwords' and click it
  3. Enter your Gmail password
    Since you are adding/changing some security settings, Google will ask you to provide your password.
  4. Click on 'Select app' and choose 'Other (Custon name)'
  5. In the field enter 'Lightroom' or something that will remind you what you are using this account for, and click Generate
  6. You will be presented with a app password consisting of 4 4- character blocks. Select and copy this password and click Done
  7. Open Lightroom
  8. Click CTRL+Shift+M (or File -> Email photo...)
  9. In the Service Provider field, select Gmail
    Fill out your Account name (usually your real or company name)
    Add your email address
    Finally paste the password from step 6 into the Password field
  10. Click OK and you are ready to go!
If you want to make sure it works, before sending mails, click on the From: field and select 'Go to Email Account Manager...'.

Click in the Validate button and Lightroom will check if the settings are ok. If they are, you will see a green dot next to your Account name and right underneath it, it will say Validated.

There you go. You can now send mails from Lightroom even though you have two-factor authentication setup for your Gmail account.

Tuesday, January 6, 2015

Keeping up with Meetup.com via RSS

So, after moving to new city (actually new country on new continent) I needed some way to find a new social group, or at least people with whom I shared a hobby.

Enter Meetup.com!

Signed up, entered my interests and within hours I had agreed to meet with fellow photographers to do a photo event!

After becoming member of a couple of handful of groups, it became apparent to me that I needed to find a better way to get organized with all the things that happened on Meetup, that I might be interested in. Most of my digital life has been streamlined using services like Pocket and IFTTT, so how could I make Meetup become part of that flow.

Basically I wanted to be informed of any activity related to any of the groups I was a member of. New members, new comments, new photos... Well, say hello to Meetups API and RSS feeds!

Let me show you how I created an RSS feed of all my Meetup activity and then how I used IFTTT to push it to Pocket.

  1. Take a note of this:
  2. Log in to Meetup and click on your profile (top right corner) and take note of your member ID in the URL (yes, the ID in the example is made up!)

  3. Now click on the 3 'more info dots' and then click API

  4. Then click API Key and take note of the API Key

  5. Replace the [ID] and the [API_Key] placeholders in the URL from step 1 with the values that you found in step 2 and 4, and you will end up with something like this:
This is your very own personal RSS based Activity Feed from Meetup. How about that!

Now, I've created a recipe in IFTTT that takes anything new from that RSS feed and created an item in Pocket, but you can also just add the feed to your favorite RSS reader (Feedly?).

Now you will never miss a thing from Meetup.

Have fun!