PRB: Open Port to an SMTP Address Fails to Send Mail (299769)



The information in this article applies to:

  • Microsoft BizTalk Server 2000

This article was previously published under Q299769

SYMPTOMS

When you create a port to an open destination and attempt to process a document with the destination value set to an e-mail address (for example, mailto:somebody@company.com), the document may not be sent correctly and the event log may contain the following error message:
The server rejected the sender address. The server response was : 501 5.5.4 Invalid Address
The SMTP log displays a failed entry that resembles the following:
2001-05-03 06:28:25 157.60.161.118 billtibiz SMTPSVC1 BILLTIBIZ 157.60.161.118 0 HELO - +billtibiz 250 0 52 14 0 SMTP - - - -
2001-05-03 06:28:25 157.60.161.118 billtibiz SMTPSVC1 BILLTIBIZ 157.60.161.118 0 MAIL - +FROM:+<Home+Organization> 501 0 27 30 0 SMTP - - - -
2001-05-03 06:28:25 157.60.161.118 billtibiz SMTPSVC1 BILLTIBIZ 157.60.161.118 0 QUIT - billtibiz 0 10 72 4 0 SMTP - - - 
				

CAUSE

The sender address for the e-mail that is presented to Simple Mail Transport Protocol (SMTP) is not a valid e-mail address. For more information on how this value is determined, see the "More Information" section.

RESOLUTION

To resolve this problem, create an identifier for the organization that represents the sender e-mail address, and select the identifier as the source organization identifier for the channel.

STATUS

This behavior is by design.

MORE INFORMATION

The sending channel must have a source organization if the port type is open. All organizations are set up with various identifier name and value pairs. The OrganizationName property is the default identifier unless you manually change this setting, and the default identifier is the source organization identifier of the channel unless you manually change this setting. The organization identifier of the source organization for the channel is presented as the sender e-mail address to SMTP.

In the sample SMTP log in the "Symptoms" section, the sender e-mail address is "Home Organization", which is the value of the OrganizationName identifier but which is invalid as an SMTP address.

Modification Type:MajorLast Reviewed:10/10/2003
Keywords:kbprb KB299769