I tried to send an invitation and I wrote "Hi" to the "Your message" edit box.
The invitation e-mail contained a link like
https://server/?q=user/register/Vbz9Ctev----------Hi
When this link is opened the https://server/?q=user page opens but with the message: "Sorry, this invitation code has expired." If I use the https://server/?q=user/register/Vbz9Ctev link then it works.
Comments
Comment #1
smk-ka commentedUmm, may I ask what mail client you use? Seems like it strips "unnecessary" (in its point of view) newline characters from the invite mail.
Comment #2
attila75 commentedThis is not about the e-mail client. The problem was caused by the invite_default_mail_template variable. I mysqldump-ed the database and the value of this variable contained just '\r'-s instead of '\r\n'-s. Invite settings page has been saved so this variable got set. It was saved with Konqueror browser. The drupal installation runs on linux. However, when I tried to reproduce it, I couldn't (I also deleted the variable using the variable editor of the devel module + emptied the cache before saving the settings page): it always wrote '\r\n'-s to this variable.
Comment #3
smk-ka commentedSo it seems that the culprit was either an outdated Konqueror or a mail module. Invite doesn't bother about email formatting, so I'm closing this issue.