none
how to send e-mail via an application relay. RRS feed

  • Question

  • Hello All,

    How to send e-mail via application relay and how to troubleshoot if the e-mail relay is not delivering e-mails to intended recipients.

    Thanks and Regards,
    Gurudas 
    Friday, October 20, 2017 2:49 PM

Answers

  • Hi,

    Do you mean that the Exchange server will be used as an e-mail reply or Exchange server will use other reply to send message out?

    If it's the former, we can use the Open Relay feature to create a dedicated Receive connector to specify the network hosts to send message through Exchange server.
    More details, for your reference: Allow anonymous relay on Exchange servers

    If it's the latter, we need to build a dedicated send connector to send message by a smart host. 
    More information about it, refer to: Create a Send connector to route outbound mail through a smart host

    To troubleshooting this issue, we can:
    1. NDR analyze.
    2. Use Telnet to test SMTP communication.
    3. Find the connector, then double check the settings on each side.

    Regards,

    Allen Wang


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, October 23, 2017 9:00 AM
    Moderator

All replies

  • I assume you mean how do you relay mail for an application. If so check out this article

    https://support.office.com/en-us/article/How-to-configure-IIS-for-relay-with-Office-365-eb57abd2-3859-4e79-b721-2ed1f0f579c9

    It works the same for exchange as it does for office 365. I have used this setup for SalesForce email relay and also Connectwise as a couple of examples. Testing is as easy as sending an email to the relay, you can also check sent items for the account you decide to use.

    Friday, October 20, 2017 3:16 PM
  • Hi,

    Do you mean that the Exchange server will be used as an e-mail reply or Exchange server will use other reply to send message out?

    If it's the former, we can use the Open Relay feature to create a dedicated Receive connector to specify the network hosts to send message through Exchange server.
    More details, for your reference: Allow anonymous relay on Exchange servers

    If it's the latter, we need to build a dedicated send connector to send message by a smart host. 
    More information about it, refer to: Create a Send connector to route outbound mail through a smart host

    To troubleshooting this issue, we can:
    1. NDR analyze.
    2. Use Telnet to test SMTP communication.
    3. Find the connector, then double check the settings on each side.

    Regards,

    Allen Wang


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, October 23, 2017 9:00 AM
    Moderator
  • Hi

    You will have a relay receive connector on exchange. That or any custom relay connector created will be used for application relay.

    Get-receiveConnector |select permissiongroups, remoteIPranges, Name, Server, Bindings

    Look for the receive connectors that have Name including *relay* that would already be there.

    RemoteIP ranges will be the IP addresses allowed to relay through it and bindings will be the smarthost IP to be given to the client for application relay and port will be there in bindings.

    Step1:get the application server or client IP address and add it to remoteIP ranges on the above connector.

    2) ask them to send email on the IP address as specified in the bindings and the port 

    3) Make sure permissiongroups has anonymous users if the client wants to add any email address as sender that may not have a mailbox.

    Command can be used similar to below

    Get-MessageTrackingLog -resultsize unlimited |where {$_.connectorid -like "*Relay*"}


    Thanks & Regards Ramandeep Singh

    Tuesday, October 24, 2017 10:20 PM
  • @Gurudas, any update or concern with your question?

    If the above suggestion is helpful, please be free to mark it as answer. Thanks.

    Regards,

    Allen Wang


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, October 26, 2017 12:11 PM
    Moderator