Custom SMTP Fields in mail processor

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Custom SMTP Fields in mail processor

stephan-19

Hi there,

we need to send some custom information through email. Analyzing how the mail system does it we found out, that new SMTP fields have been added:
e.g: "X-Priority: 3 (Normal)" or  "X-no-archive: yes".

How can I incorporate this SMTP (Header) fields using the SMTP processor?

Thx
;-) stw

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Custom SMTP Fields in mail processor

Erik Bruchez
Administrator
Stefan,

This was not possible until now, but I just added support for this in
the latest CVS, since this was quite trivial to add. You can now add,
after the <suject/> element, something like:

<header>
   <name>X-Priority</name>
   <value>3 (Normal)</value>
</header>
<header>
   <name>X-no-archive</name>
   <value>yes</value>
</header>

-Erik

[hidden email] wrote:

>
> Hi there,
>
> we need to send some custom information through email. Analyzing how the
> mail system does it we found out, that new SMTP fields have been added:
> e.g: "X-Priority: 3 (Normal)" or  "X-no-archive: yes".
>
> How can I incorporate this SMTP (Header) fields using the SMTP processor?
>
> Thx
> ;-) stw


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws