Hello, I am trying to set up salutations for my company. According to one source, I should be able to use <OTRS_CUSTOMER_REALNAME> in order to get the information from the from headers. Unfortunately, I am only able to get the customer's email address.
One form header would look like this:
header {
from: "store1 member: SomeSillyUserName";
}
While other form headers look like this:
header {
from: "John Doe";
}
Basically, there are several variations on the idea, but what I want to be able to do is take the from field from the first example:
"store1 member: SomeSillyUserName"
, strip off "store1 member:" and have the salutation be:
"Hello, SomeSillyUserName;" or something close to that.
Of course, I'm still unable to extract any information but the email address, so that is another problem there.
Thanks;
d.
Salutation: How Can I Get the Username from the "From"?
Moderator: crythias
Re: Salutation: How Can I Get the Username from the "From"?
I may have a step in the right direction:
For the salutation, I put <OTRS_CUSTOMER_From>;
and I get this output:
"XYZ Member: user_name" <user_name_etcetc@xyz.shop.com>;
So, now I guess I'd like to extract "user_name"
I did attempt: <OTRS_CUSTOMER_From[10]>;
but that didn't seem to work out.
For the salutation, I put <OTRS_CUSTOMER_From>;
and I get this output:
"XYZ Member: user_name" <user_name_etcetc@xyz.shop.com>;
So, now I guess I'd like to extract "user_name"
I did attempt: <OTRS_CUSTOMER_From[10]>;
but that didn't seem to work out.