You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by JPrasanna Venkatesan <pr...@gmail.com> on 2020/12/16 09:33:48 UTC

Sender Name change

Hi All,

I want to change the sender name (from addresss) alone and I like to fetch
it from my postgres DB using a select query. how to do this one.

Say Rob is sending then it should come as Rob admin@domain.com and if
stewart send it should come as Stewart admin@domain.com. I will fetch 'Rob'
and 'Stewart' from postgres DB using a simple select query

I am using config.xml for all the 'match' and not java API.

Regards,
J Prasanna Venkatesan

Re: Sender Name change

Posted by JPrasanna Venkatesan <pr...@gmail.com>.
Any update here is appreciated.

On Wed, Dec 16, 2020 at 3:03 PM JPrasanna Venkatesan <pr...@gmail.com>
wrote:

> Hi All,
>
> I want to change the sender name (from addresss) alone and I like to fetch
> it from my postgres DB using a select query. how to do this one.
>
> Say Rob is sending then it should come as Rob admin@domain.com and if
> stewart send it should come as Stewart admin@domain.com. I will fetch
> 'Rob' and 'Stewart' from postgres DB using a simple select query
>
> I am using config.xml for all the 'match' and not java API.
>
> Regards,
> J Prasanna Venkatesan
>

Re: Sender Name change

Posted by JPrasanna Venkatesan <pr...@gmail.com>.
Hi David,

It is in James. I want to change the Sender Name alone in fromAddress and
not the email address in fromAddress.

I will fetch the Sender Name from postgres using a simple select query.

1. How to change the Sender Name alone in james config.xml.
2. Also how to bring in SQL query inside config.xml to fetch Sender Name.

Say Rob is sending then it should come as Rob admin@domain.com and if
stewart sends it should come as Stewart admin@domain.com. I will fetch
'Rob' and 'Stewart' from postgres DB using a simple select query

I am using config.xml for all the 'match' and not java API.

Regards,
J Prasanna Venkatesan

On Fri, Dec 18, 2020 at 2:39 PM David Matthews <ma...@dmatthews.org.invalid>
wrote:

> >Any update here is appreciated.
> >
> >On Wed, Dec 16, 2020 at 3:03 PM JPrasanna Venkatesan >
> prasanna1981@gmail.com>
> >wrote:
> >
> >> Hi All,
> >>
> >> I want to change the sender name (from addresss) alone and I like to
> fetch
> >> it from my postgres DB using a select query. how to do this one.
> >>
>
> what sort of help are you looking for - is it with a James issue or a
> postgres issue?
>
> --
> David Matthews
> mail@dmatthews.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

Re: Sender Name change

Posted by David Matthews <ma...@dmatthews.org.INVALID>.
>Any update here is appreciated.
>
>On Wed, Dec 16, 2020 at 3:03 PM JPrasanna Venkatesan >prasanna1981@gmail.com>
>wrote:
>
>> Hi All,
>>
>> I want to change the sender name (from addresss) alone and I like to fetch
>> it from my postgres DB using a select query. how to do this one.
>>

what sort of help are you looking for - is it with a James issue or a postgres issue?

--
David Matthews
mail@dmatthews.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org