Maybe websphere is not using <....> in mail from. You can disable the
need of the <..> in mail from by setting the following in smtpserver
component configuration (config.xml).

         <addressBracketsEnforcement>false</addressBracketsEnforcement>


Bye,
Norman

2009/11/13 Stefano Bagnara <[email protected]>:
> Sorry.. I sent this to server-dev instead of server-user ;-)
>
> Limincn: I correct my last statement... subscribe to
> [email protected] for this kind of issues.
>
> Stefano
>
> 2009/11/13 Stefano Bagnara <[email protected]>:
>> 2009/11/13 limincn <[email protected]>:
>>>
>>> No, I am sure I have not use "****".
>>>
>>> I have tried the following mail address.
>>>
>>> 1. [email protected]
>>> 2. <[email protected]>
>>> 3. "ABC" <[email protected]>
>>> 4. "[email protected]"
>>>
>>> all of them are wrong. the error log is same.
>>>
>>> but according to the Websphere Business Event Help the 1 and 3 above should
>>> be right.
>>>
>>> If you think my answer is not suficient, could you tell me dou you think
>>> which type of mail address will be right.
>>
>> THe first address is correct, but you probably are looking to the wrong 
>> stuff.
>> The problem is in the parameter that Websphere is passing to the "MAIL
>> FROM:" command.
>> There is a syntax error in the MAIL FROM command.
>> If you are not able to determine what Websphere is passing in this
>> command you can enable debug logging for the smtpserver in james:
>>
>> <jamesfolder>/apps/james/SAR-INF/environment.xml:
>> ---
>>      <category name="smtpserver" log-level="DEBUG">
>>        <log-target id-ref="smtpserver-target"/>
>>      </category>
>> ---
>> Just change the log-level to DEBUG.
>>
>> Then restart and look at 
>> <jamesfolder>/apps/james/logs/smtpserver-YYYY-MM*.log
>>
>> Stefano
>>
>> PS: as I told you before the right list is server-dev. So I reply
>> there and to you. Let's stop using [email protected] for something it's
>> not about. Subscribe to server-dev if you want answers.
>>
>>> Stefano Bagnara-2 wrote:
>>>>
>>>>> but when I want to use apache-james in the Websphere Business Event, the
>>>>> mail can not be sent normally neither using *[email protected] or using
>>>>> <*[email protected]>.
>>>>>
>>>>> error log is:
>>>>> Mail reply: (*[email protected]) 501 5.1.7 Syntax error in MAIL command
>>>>
>>>> The error say you have a syntax error in the email address.
>>>> You obfuscated the email with "****" so it's hard to say if it was a
>>>> correct address or not.
>>>> But note that the syntax error is not in the recipient address, but
>>>> the sender address (MAIL is the command used to send the FROM: email).
>>>>
>>>> Stefano
>>>>
>>>> PS: use [email protected] list for this kind of questions.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

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

Reply via email to