Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hi I have installed and enabled invite module,for mailsystem i have used MIME mail system.When i send an invitation to email it shows site name and site url but it did not show inviter name and invite accept link instead it shows replace tokens [invite:inviter:name] and [invite:invite-accept-link]. While on front end of site it works fine but in email body it is not working,see image for more clarity. plz help me out i am struggling with it since 2 days.
Comment | File | Size | Author |
---|---|---|---|
#5 | _invite-types.png | 10.43 KB | noman_297 |
#5 | littlepeachboy_com_admin_structure_invite-types_manage_invite_by_email_fields.png | 38.95 KB | noman_297 |
#5 | littlepeachboy_com_admin_config_people_invite_by_mail.png | 42.03 KB | noman_297 |
invite-issue.png | 17.89 KB | noman_297 |
Comments
Comment #2
noman_297 CreditAttribution: noman_297 commentedComment #3
ckngSo you are saying in your email body, the site name and site slogan tokens are replaced correctly but not invite tokens?
Comment #4
ckngI retested with latest dev, could not reproduce, the tokens are replaced correctly together with system tokens.
Could you post screenshot of your admin/config/people/invite/by_mail and your invite type?
Comment #5
noman_297 CreditAttribution: noman_297 commentedYes sure above are the screens.
Comment #6
noman_297 CreditAttribution: noman_297 commented@ckng have you find out any solution to the issue.
Comment #7
mhamed CreditAttribution: mhamed as a volunteer commentedThe same here
fill the email
send
but nothing rendered:
Oggetto:
[invite:inviter:name] has sent you an invite!
Corpo:
[invite:inviter:name] has invited you to join [site:name] at [site:url]. To become a member of [site:name], click the link below or paste it into the address bar of your browser. [invite:invite-accept-link]
i ve tried with the dev but the same
Comment #8
noman_297 CreditAttribution: noman_297 commentedComment #9
noman_297 CreditAttribution: noman_297 commentedI have given required info, why this issue is postponed.
Comment #10
ckngBecause maintainer and support are on voluntary basis, already highlighted in #4 that could not reproduce your issue. To move forward, try to debug yourself if you are a dev, if not then you may want to hire a dev to help you.
Comment #11
pushkar CreditAttribution: pushkar commentedLook at https://www.drupal.org/node/2468283
Applying the core patch fixes it.
Comment #12
Shaun Holt CreditAttribution: Shaun Holt as a volunteer commentedI was having this issue and did some tinkering around.... I changed a couple of tokens and the emails started sending properly..... here is what I have now that has it working correctly....
Subject line: [current-user:name] has sent you an invite!
Body: [user:name] has invited you to join [site:name] at [site:url].
To become a member of [site:name], click the link below or paste it into the address bar of your browser.
[invite:invite-accept-link]
Hope this helps anyone else they may have the same issue.
Comment #13
SpartyDan CreditAttribution: SpartyDan commentedCan not reproduce issue with clean install of latest dev release.