Reply to comment

A Gmail Trick To Test Drupal Roles

When testing different user roles in Drupal, there is a handy trick that leverages Gmail's ability to pass information in via your email address. For example, if your Gmail email address is "fakeemail@gmail.com" you can pass additional information by adding a plus sign before the "@" and the additional information after the plus sign. For example, "fakeemail+extrainfo@gmail.com". When creating test users with different roles, the role can be specified in the email address using this technique. This allows you to create the roles without having to register new email accounts and allows you to see what email a role's user receives.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options


CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.