how we can setup smtp server to receive a email from biztalk RRS feed


  • Hi Pavan,

    Use the following procedure to build and initialize the SendMail sample.

    1. In a command window, navigate to the following folder:

      <Samples Path>\Adapters\SendMail

    2. Run the file Setup.bat, which performs the following actions:
      • Creates the following input folder for this sample:

        <Samples Path>\Adapters\SendMail\In

      • Compiles the Visual Studio .NET project for this sample.
      • Starts the BizTalk Server orchestration.

        Note  You should confirm that BizTalk did not report any errors during the build and initialization process before attempting to run this sample.

        Note  If you choose to open and build the project in this sample without running the file Setup.bat, you must first create a strong name key pair using the .NET Framework Strong Name Utility (sn.exe). Use this key pair to sign the resulting assembly.

        Note  To undo changes made by Setup.bat, run Cleanup.bat and delete all receive and send ports prefixed with SendMail_1.0.0.0_Microsoft.Samples.BizTalk.SendMail. You must run Cleanup.bat before running Setup.bat a second time.

    3. Using BizTalk Explorer, locate the receive port prefixed by SendMail_1.0.0.0_Microsoft.Samples.BizTalk.SendMail. Update the receive location for this receive port to point to a directory on your file system to use as the input location.
    4. Using a program such as Notepad, modify the file SendMailInput.xml so that the Email element specifies a legitimate e-mail address at which you want to receive the e-mail message generated by this sample.
    5. Click Start, point to Programs, point to Microsoft BizTalk Server 2004, and then click BizTalk Server Administration.
    6. In the BizTalk Server Administration console, expand the Microsoft BizTalk Server 2004 (Local) tree in the left pane, and then navigate to the Adapters folder.
    7. Expand the Adapters folder, expand the SMTP node, and then click the Send Handlers node.
    8. In the BizTalkServerApplication properties dialog box, on the Properties tab, provide appropriate values for the SMTP server name and From (Email address) properties.

      These values will be used to construct the From e-mail address for any e-mail messages sent through this SMTP adapter.

      Note  If you need to authenticate with your SMTP server, you must ensure that the From e-mail address belongs to the same account that you use for authentication.

    9. Stop and then restart the BizTalk service (BizTalkServerApplication) so that the orchestration will adopt these changes.

    Best Regards

    Sridhar Kaliamurthy


    My Blog :

    • Proposed as answer by Sridhar Kaliamurthy Sunday, August 10, 2014 10:42 AM
    • Marked as answer by Angie Xu Wednesday, August 13, 2014 2:27 AM
    Sunday, August 10, 2014 10:42 AM