EMailBC ignoring From-attribute

6 messages Options
Embed this post
Permalink
Frank Niedermann

EMailBC ignoring From-attribute

Reply Threaded More More options
Print post
Permalink
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
Shivanand Kini

Re: EMailBC ignoring From-attribute

Reply Threaded More More options
Print post
Permalink
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]

Frank Niedermann

Re: EMailBC ignoring From-attribute

Reply Threaded More More options
Print post
Permalink
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: users-unsubscribe@open-esb.dev.java.net
For additional commands, e-mail: users-help@open-esb.dev.java.net
Shivanand Kini

Re: EMailBC ignoring From-attribute

Reply Threaded More More options
Print post
Permalink
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]

Frank Niedermann

Re: EMailBC ignoring From-attribute

Reply Threaded More More options
Print post
Permalink
Hi Shivanand,

must not be in the from address, but I would like to send a mail like this:

from: "Support@esbserver.com"
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: users-unsubscribe@open-esb.dev.java.net
>> For additional commands, e-mail: users-help@open-esb.dev.java.net
>>
>>
>>
>>    
>
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@open-esb.dev.java.net
For additional commands, e-mail: users-help@open-esb.dev.java.net
Shivanand Kini

Re: EMailBC ignoring From-attribute

Reply Threaded More More options
Print post
Permalink
Hi Frank,
Thanks for the clarification.
Email BC by itself cannot support your requirement currently. But you
can file for an enhancement, and if there is enough interest, can be
provided in future.

I dont know whether BPEL can provide you the host name to be used while
creating the subject. And someone can clarify this.
Probably POJO service engine can help you.

Thanks,
Shivanand

Frank Niedermann wrote:

> 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]
>>
>>
>>
>>    
>
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]