February 28, 2023, 10:45am
I have the following issue.
I am not able to extract the email id from the following “received message” email token:
%recipient% (or %sender%)
For %recipient.email% the returned content is
Could you please tell if it is possible to extract only the mail id with a token ?
Thanks for your support
March 1, 2023, 1:18pm
Please send more details about this question, and we will do our best to help you.
March 1, 2023, 1:52pm
@andrii thanks for your reply.
In Hivepress email settings with WP I am trying to find a way to extract only the mail id of the recipient.
For example in the booked confirmed (Vendor) usecase here are the available token:
None of these token is returning the email ID directly
Can you explain how to get it please ?
March 2, 2023, 12:39pm
Please try to use these tokens
%user.email%. I hope this is helpful to you.
March 2, 2023, 1:02pm
Hi thanks for your reply.
Indeed I have already tested this token %user.email% but it returns the following string instead of just extracting the email \firstname.lastname@example.org
I need to use an API that takes only an email ID as input field not the full <a ref=></a>
March 3, 2023, 1:35pm
Sorry for the confusion, but unfortunately, there’s no such feature - all the tokens are replaced with the formatted values, not raw values (e.g. if it’s a number it’ll be formatted with separators, emails are formatted with “mailto” links).