# Link to private message a user from outside via URL

**URL:** https://meta.discourse.org/t/link-to-private-message-a-user-from-outside-via-url/35242
**Category:** Plugin
**Created:** [November 4, 2015, 6:38pm UTC](https://meta.discourse.org/t/link-to-private-message-a-user-from-outside-via-url/35242 "2015-11-04T18:38:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![OnceWas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oncewas/32/40734_2.png) [@OnceWas](https://meta.discourse.org/u/OnceWas)
#### Post date: [November 4, 2015, 6:38pm UTC](https://meta.discourse.org/t/link-to-private-message-a-user-from-outside-via-url/35242/1 "2015-11-04T18:38:07Z")

</div>

Thanks to [Vairix](http://www.vairix.com/), we have developed a plugin that triggers a private message from an outside URL.

After installing this plugin, if you append `?pm=true` to a Discourse user’s profile URL, it will trigger the private message composer with a message addressed to that user.

> **[Bitbucket](https://bitbucket.org/twobyfore/discourse-pmlink)**

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 4, 2015, 8:13pm UTC](https://meta.discourse.org/t/link-to-private-message-a-user-from-outside-via-url/35242/2 "2015-11-04T20:13:38Z")

</div>

Pretty sure we are comfortable having this kind of feature in core @techAPJ already built it for standard topics

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [November 24, 2015, 2:02pm UTC](https://meta.discourse.org/t/link-to-private-message-a-user-from-outside-via-url/35242/6 "2015-11-24T14:02:18Z")

</div>

This feature is now available in core Discourse:

> [@Creating pre-filled personal message links](https://meta.discourse.org/t/compose-a-new-pre-filled-message-via-url/35984):
>
> bookmark This guide describes how to create a link to start a new personal message with pre-filled information, including best practices. person_raising_hand Required user level: All users Discourse allows you to compose a new personal message with pre-filled information via URL parameters. This can save time and ensure consistency for common messages. Structure of the URL To create a new pre-filled message, format your URL like this: https://discourse.example.com/new-message?username…
