Mailing List Archive

Get sender's name from $sender_address
Hi Exim Users,

I've just set up Exim, and configure in remote_smtp transport secion.
My $sender_address is: quan@web.com. How can I get only sender's name
(without @ and domain part)?

Thank you so much!
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Get sender's name from $sender_address [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 02/08/12 17:04, Nguyen Quan wrote:

> I've just set up Exim, and configure in remote_smtp transport
> secion. My $sender_address is: quan@web.com. How can I get only
> sender's name (without @ and domain part)?

$sender_address_local_part

See http://www.exim.org/exim-html-current/doc/html/spec_html/ch11.html

- --
Mike Cardwell https://grepular.com/ http://cardwellit.com/
OpenPGP Key 35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F
XMPP OTR Key 8924 B06A 7917 AAF3 DBB1 BF1B 295C 3C78 3EF1 46B4
-----BEGIN PGP SIGNATURE-----

iQGGBAEBCgBwBQJQGsLpMBSAAAAAACAAB3ByZWZlcnJlZC1lbWFpbC1lbmNvZGlu
Z0BwZ3AuY29tcGdwbWltZTgUgAAAAAAVABpwa2EtYWRkcmVzc0BnbnVwZy5vcmdt
aWtlLmNhcmR3ZWxsQGdyZXB1bGFyLmNvbQAKCRCdJiMBwdHnBNH8CACsBUnRAvy/
ie9qw2URCIMIIB/ZX7uOgDWNOskRjHqTY6k5+c4lBQ/EG7eQHz08HV4S4Mf2he1B
33g029RciK8VIkWrNTC9pD7aIel7vB5+K4A0K6hy1Q5W/S0pFVKn4xG/zpyiUOx5
sDur6dXY7CLYvM7c0hMaijZqp/U7zGwj6Z5Vn+SUP7HCl7IhKBLH7JAD24JQC6mp
056t+qFKTl78M/S27MaVnVGwTldRgNww49/zyCl4atNNlLuXZRj/6fosJdhluco6
2HPCzbW4a0Eji8g5A+DVL7ss/xuJcuQDxkUWk/m0l0vu9CTBwt00CUmCwTyPrGQm
78fbQ9f2+p4m
=V0jR
-----END PGP SIGNATURE-----

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/