locked
How to use multiple email smtp address in IIS smtp relay server RRS feed

  • Question

  • Hi,

    I've configured IIS Smtp relay server with one email address to relay mails to Office365. All the applications are using the same email address to send mails. How to use different email address for each application to send mails through smtp server.

    Tuesday, January 5, 2016 6:45 AM

Answers

  • Hi Elangamban,

    Based on my understanding, you wanted to use three different email accounts for three different applications.

    And you wanted to achieve this purpose by using the IIS SMTP relay server .

    I have test in my lab, didn't find out the way to achieve this goal.

    Perhaps you could ask this question in the IIS forum, to get better help, please post this issue on the forum below:

    http://forums.iis.net/

    Thanks for your understanding.

    Best regards,


    Andy_Pan

    • Proposed as answer by Hello_2018 Wednesday, January 20, 2016 9:00 AM
    • Marked as answer by Leo Han Thursday, January 21, 2016 9:38 AM
    Wednesday, January 6, 2016 7:43 AM
  • Hi,

    Please post Office365 related queries here.

    https://community.office365.com/en-us/f

    Hope you are following this article.

    https://technet.microsoft.com/en-in/library/dn592151(v=exchg.150).aspx

    You can give this a try:

    Create new virtual server to add more users, but you will need to have multiple IPs assigned to the server for it to work.

    Additional SMTP virtual server will allow you to have another user configured to relay emails.

    Creating Additional SMTP Virtual Servers (IIS 6.0)

    Another solution is to give your authenticated O365 user permission to SendAs the different user accounts. This will allow relayuser@domain.com to relay as user2@domain.com

    Part3 - Enable the IIS SMTP relay to send mail on behalf other Email address


    Regards,

    Satyajit

    Please“Vote As Helpful” if you find my contribution useful or “MarkAs Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.


    • Edited by Satyajit321 Tuesday, January 12, 2016 4:06 AM
    • Proposed as answer by Hello_2018 Wednesday, January 20, 2016 9:00 AM
    • Marked as answer by Leo Han Thursday, January 21, 2016 9:38 AM
    Tuesday, January 12, 2016 4:01 AM

All replies

  • Hi Elangamban,

    You can relay any email domain using the IIS server, just make sure the O365 is accepting them from the server.

    You need to have the domain verified and added to the o365 portal.

    Change the email address on the application and IIS should relay them just fine.


    Regards,

    Satyajit

    Please “Vote As Helpful” if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

    Tuesday, January 5, 2016 9:31 AM
  • Hi,

    Thanks for your quick reply.

    I think, I'm not clear before.

    Sending email is not problem. Through IIS SMTP relay server only one account (email address) which was given as authenticated user, can send emails.

    Three application is using the same account (email address) to send emails. Some times mails are not flowing due to the daily mail limit in Office 365.

    To overcome this I need three email address for those three application, one for each.

    IIS server can be configured using one account only. I need to configure three accounts in iis smtp relay server to send mails.

    Tuesday, January 5, 2016 9:50 AM
  • Hi Elangamban,

    Based on my understanding, you wanted to use three different email accounts for three different applications.

    And you wanted to achieve this purpose by using the IIS SMTP relay server .

    I have test in my lab, didn't find out the way to achieve this goal.

    Perhaps you could ask this question in the IIS forum, to get better help, please post this issue on the forum below:

    http://forums.iis.net/

    Thanks for your understanding.

    Best regards,


    Andy_Pan

    • Proposed as answer by Hello_2018 Wednesday, January 20, 2016 9:00 AM
    • Marked as answer by Leo Han Thursday, January 21, 2016 9:38 AM
    Wednesday, January 6, 2016 7:43 AM
  • Hi,

    Please post Office365 related queries here.

    https://community.office365.com/en-us/f

    Hope you are following this article.

    https://technet.microsoft.com/en-in/library/dn592151(v=exchg.150).aspx

    You can give this a try:

    Create new virtual server to add more users, but you will need to have multiple IPs assigned to the server for it to work.

    Additional SMTP virtual server will allow you to have another user configured to relay emails.

    Creating Additional SMTP Virtual Servers (IIS 6.0)

    Another solution is to give your authenticated O365 user permission to SendAs the different user accounts. This will allow relayuser@domain.com to relay as user2@domain.com

    Part3 - Enable the IIS SMTP relay to send mail on behalf other Email address


    Regards,

    Satyajit

    Please“Vote As Helpful” if you find my contribution useful or “MarkAs Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.


    • Edited by Satyajit321 Tuesday, January 12, 2016 4:06 AM
    • Proposed as answer by Hello_2018 Wednesday, January 20, 2016 9:00 AM
    • Marked as answer by Leo Han Thursday, January 21, 2016 9:38 AM
    Tuesday, January 12, 2016 4:01 AM