Note that there are some explanatory texts on larger screens.

plurals
  1. POgenerate email address that links to a message thread like Facebook in ruby on rails app
    primarykey
    data
    text
    <p>Facebook sends email notifications when a new message has arrived in a facebook message thread. The email allows you to reply on it without going to Facebook. I think it is being done by Facebook by generating a reply to email address that is linked to the message thread.</p> <p>Example of such a reply-to email adress of a facebook email notification (I modified some characters, so it won't work): m+51r6w8e000000bu1jfpbziio6jmfnvvtkaevxrgojnel8qv@reply.facebook.com</p> <p>I'm trying to implement a similar feature in my rails app. </p> <p>I'm still a newbie in rails and wondering how I should approach this issue.</p> <p>I was trying to encrypt the id of my message thread using the encryptor gem, then using this as an email adress in the form: encryptedId@mydomain.com. Issue is that the encrypted output contains characters that are not allowed in an email address.</p> <p>As I know little about encryption I googled and found the possibility to base64 encode the encrypted output. This is common practice for urls. But still, this has characters (for example %) that are not allowed in an email adress.</p> <p>I found that RC4 should be an encrytpion algorythm that has hexadecimal output. But the encryptor gem gives me 1 non-hexadecimal character when using this algorythm, so it doesn't seem to work. Conclusion: I'm a bit stuck.</p> <p>Maybe I'm looking to far. Are there other appoaches that I could consider?</p> <p>EDIT: extra info: I'm trying to make the email address non-guessable.</p> <p>Thanks!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload