Hello Assad,

On Tuesday, April 16, 2002 at 5:57:42 PM you wrote in
[EMAIL PROTECTED]">mid:[EMAIL PROTECTED] (at least in part):

AT>      I don't know if you got me correctly, but here is the scenario.
AT>      I received an email in the following format this morning:
AT>      "ABC Co.,Shanghai <[EMAIL PROTECTED]>"

If this is originally as written in the 'From:' header of the mail you've
received Roelof got you right and was correct.

The above written means:

<ABC@defaultdomain>
<Co.@defaultdomain>
Shanghai <[EMAIL PROTECTED]>

with 'defaultdomain' set by mail server being forced to handle the request.
In your case no mail server was invoked that was told to handle this
address(es), so you will have not seen any failure messages or strange
e-mail-addresses 'created on the fly', but if you try to send a mail to
exactly the above written address(es) the mail server you're about to give
the mail will split it up in three pieces.

Lets say the servers name is 'mail.intnet.mu' and it is not configured
somehow special about default domain and host it will split the message
into three with the following recipients:

<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Shanghai <[EMAIL PROTECTED]>

resulting in two failures.

TB! behaves similar: if you use '%ABToFirstName' it looks for an AB-entry
for e-mail-address 'ABC', which is the first address in the above 'From:'
line.

AT>      When I edit the original message and remove the comma, the
AT>      template picks up the first name correctly. So I suppose it is a
AT>      bug.

When you edited it only one address was left, according to an
interpretation following RFC, so TB! had the chance to find '[EMAIL PROTECTED]'
as an e-mail-address in it's address book.
-- 
Regards
Peter Palmreuther                            mailto:[EMAIL PROTECTED]
(The Bat! v1.60c on Windows 2000 5.0 Build 2195 Service Pack 2)

I shot the Sysop, but I should have shot the Moderator.


________________________________________________________
Current Ver: 1.60c
FAQ        : http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]

Reply via email to