vsc
February 28, 2023, 10:45am
1
Hi
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
xxxxxxxx@gmail.com
Could you please tell if it is possible to extract only the mail id with a token ?
xxxxxxxx@gmail.com
Thanks for your support
andrii
March 1, 2023, 1:18pm
5
Hi,
Please send more details about this question, and we will do our best to help you.
vsc
March 1, 2023, 1:52pm
6
Hi @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 ?
andrii
March 2, 2023, 12:39pm
10
Hi,
Please try to use these tokens %user.email%
. I hope this is helpful to you.
vsc
March 2, 2023, 1:02pm
11
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 \xxxxxx@gmail.com
<a href="mailto:xxxxxx@gmail.com "> xxxxxx@gmail.com </a>
I need to use an API that takes only an email ID as input field not the full <a ref=></a>
andrii
March 3, 2023, 1:35pm
15
Hi,
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).
system
Closed
April 3, 2023, 5:12pm
18
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.