facebookfacebook-graph-api

How do I send sample emails to my Facebook test users?


A test user on Facebook has a default @tfbnw.net email address as the primary email address, in addition to a @facebook.com address which routes to their Facebook Messages inbox.

I've tried to set the @facebook.com address as primary, since I wish to quickly check sent sample emails in their Facebook Messages inbox. However, I'm not allowed to do so [which makes sense, I guess, because the primary email id is supposed to be a non-FB one].

It's tiring to create a new email account for every test user [can't reuse the same email address, because Facebook complains that it's already being used for an account]

So I have two questions:

  1. Where can emails sent to @tfbnw.net addresses be accessed?
  2. How should I go about setting up distinct primary email accounts for my test users? [I know I could set up distinct GMail accounts and fwd them to my own, but that seems like a lot of work.]

Solution

  • I finally resorted to using Mailcatcher. This ensures that I don't have any special logic in my app for test users and it allows me to immediately test how the email looks under html/text formatting.

    http://mailcatcher.me/