Email BC by itself cannot support your requirement currently. But you
creating the subject. And someone can clarify this.
> Hi Shivanand,
>
> must not be in the from address, but I would like to send a mail like this:
>
> from: "
[hidden email]"
> subject: "this is a support message from openesb server server1.domain"
>
> I don't want to write server1.domain statically into the BPEL mapper because
> I want to deploy that BPEL on different hosts. So the subject should be
> whatever the hostname is on that server, like this:
>
> subject: "this is a support message from openesb server $servername"
>
>
>
> Shivanand Kini wrote:
>
>> Hi Frank,
>> What do you mean by hostname of openesb server?
>> Can you give some examples as to what you expect to be seen in the from
>> address?
>>
>> In general, you can use any "from" address, as long as the smtp server
>> allows it.
>>
>> Thanks,
>> Shivanand
>>
>> Frank Niedermann wrote:
>>
>>> Hi Shivanand,
>>>
>>> that's right, after using a well formed mail address it works. Is there a
>>> way to still use the hostname of the OpenESB server in a BPEL assign?
>>>
>>> Thanks,
>>> Frank
>>>
>>>
>>> Shivanand Kini wrote:
>>>
>>>
>>>> I see an exception in the log file, when I use 'OpenESB Server' as the
>>>> from address. Use a valid email address for the from value, and it
>>>> should work.
>>>>
>>>> Also if the from address is not specified (or is invalid), the smtp
>>>> server may add a from address, which may explain the
>>>> Administrator@hostname value.
>>>>
>>>> Thanks,
>>>> Shivanand
>>>>
>>>>
>>>> Frank Niedermann wrote:
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> I have installed the EmailBC on GlassFish ESB and now I'm sending out
>>>>> mails
>>>>> to my users which works fine.
>>>>>
>>>>> The only thing that bothers me is that the mails coming from OpenESB
>>>>> always
>>>>> have "Administrator@hostname" in the From mail attribute.
>>>>>
>>>>> This shouldn't be because I have assigned another value to the from
>>>>> attribute in the BPEL:
>>>>>
>>>>> <copy>
>>>>> <from>'OpenESB Server'</from>
>>>>> <to variable="SendEmailIn" part="from"/>
>>>>> </copy>
>>>>>
>>>>> Is this a known issue or am I missing some point?
>>>>>
>>>>> Thanks,
>>>>> Frank
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail:
[hidden email]
>>>> For additional commands, e-mail:
[hidden email]
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
[hidden email]
>> For additional commands, e-mail:
[hidden email]
>>
>>
>>
>>
>
>