none
SMTP Configuration RRS feed

  • Question

  • Hi Guys,

    I need one information. I setup one network and added three machine Domain controller, SQL Server, BizTalk machine. Now I need to send emails via BizTalk and I have SMTP server details. So if will configure all the details in send port (SMTP adapter) then it will work? Or do I need to configure SMTP server in my domain?

    Thursday, August 25, 2016 10:24 AM

Answers

  • Hi Giri,

    In general you need to configure only SMTP adapter with your SMTP server detail provided your SMTP server is properly placed and working .

    However also in cases where  organisation policy is to not to send email to the outer world then your have to raise a firewall request to allow it but it is very specific to organisation .

    Note: For the SMPT adapter to connect to SMTP server , port 25 must be open in firewall.


    Manish


    Thursday, August 25, 2016 10:34 AM
  • Hello Abhay,

    When you configure the service account for the host instance running the SMTP adapter, you need to specify the type of authentication you want to use with the remote SMTP server. The authentication options are basic authentication (clear text), NTLM (by using current credentials), or none if authentication is not required by the SMTP server.

    Table 1. SMTP Handler Authentication Options
    Authentication Option Description
    Basic Authentication Specifies specific credentials to authenticate with the SMTP server. BizTalk may pass these credentials over the network in clear text.
    Do Not Authenticate BizTalk provides no authentication credentials when sending an email message via SMTP.
    Process Account (NTLM) The adapter uses the host instance identity to authenticate with the SMTP server.


    Just ensure that Port 25 should be enable on the SMTP server, otherwise you will get error like "Not able to contact SMTP server".

    Service or Application context

    Destination Server

    Destination Service

    Port

    Protocol

    Reason

    BizTalk service account

    SMTP/Exchange
    SMTP
    25
    TCP
    For the SMTP adapter to connect to SMTP server


    Be aware: Even though SMTP service is in start mode, by default antivirus softwares blocks Port 25

    Refer: SMTP Adapter Security Recommendations

    The target SMTP server log files can contain information that is helpful for troubleshooting problems with the SMTP adapter. By default the SMTP log files on Windows Server are located in the following directory:

    %WinDir%\system32\LogFiles\SMTPSVC1\


    Rachit Sikroria (Microsoft Azure MVP)


    Thursday, August 25, 2016 10:37 AM
    Moderator

All replies

  • Hi Giri,

    In general you need to configure only SMTP adapter with your SMTP server detail provided your SMTP server is properly placed and working .

    However also in cases where  organisation policy is to not to send email to the outer world then your have to raise a firewall request to allow it but it is very specific to organisation .

    Note: For the SMPT adapter to connect to SMTP server , port 25 must be open in firewall.


    Manish


    Thursday, August 25, 2016 10:34 AM
  • Hello Abhay,

    When you configure the service account for the host instance running the SMTP adapter, you need to specify the type of authentication you want to use with the remote SMTP server. The authentication options are basic authentication (clear text), NTLM (by using current credentials), or none if authentication is not required by the SMTP server.

    Table 1. SMTP Handler Authentication Options
    Authentication Option Description
    Basic Authentication Specifies specific credentials to authenticate with the SMTP server. BizTalk may pass these credentials over the network in clear text.
    Do Not Authenticate BizTalk provides no authentication credentials when sending an email message via SMTP.
    Process Account (NTLM) The adapter uses the host instance identity to authenticate with the SMTP server.


    Just ensure that Port 25 should be enable on the SMTP server, otherwise you will get error like "Not able to contact SMTP server".

    Service or Application context

    Destination Server

    Destination Service

    Port

    Protocol

    Reason

    BizTalk service account

    SMTP/Exchange
    SMTP
    25
    TCP
    For the SMTP adapter to connect to SMTP server


    Be aware: Even though SMTP service is in start mode, by default antivirus softwares blocks Port 25

    Refer: SMTP Adapter Security Recommendations

    The target SMTP server log files can contain information that is helpful for troubleshooting problems with the SMTP adapter. By default the SMTP log files on Windows Server are located in the following directory:

    %WinDir%\system32\LogFiles\SMTPSVC1\


    Rachit Sikroria (Microsoft Azure MVP)


    Thursday, August 25, 2016 10:37 AM
    Moderator
  • Hi Giri,

    No you dont need to have the SMTP server in your domain..

    the best example to illustrate this fact is : sending an email from Biztalk using the Gmail SMTP server and that is not even in our domain :)

    Now that being said there are few things you need to takecre about

    1) SMTp protocol functions on the Port number 25, so make sure that the port is opened in the firewall of the SMTP server and that your sever isable to connect to the SMTp server( use telnet command to check)

    2) With SMTP you need to make sure that the SMTP server allows sending mails to these ids..

    3) Refer this SMTP Adapter Security Recommendations

    Another thing if you have to send the mail to different users which change at run time, then use the dynamicsend port to send the emails

    Regards,


    Mandar Dharmadhikari

    Thursday, August 25, 2016 11:44 AM